-
-
Notifications
You must be signed in to change notification settings - Fork 287
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
19 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
local Pkg = require "mason-core.package" | ||
local _ = require "mason-core.functional" | ||
local go = require "mason-core.managers.go" | ||
|
||
return Pkg.new { | ||
name = "goimports-reviser", | ||
desc = _.dedent [[ | ||
Tool for Golang to sort goimports by 3-4 groups: std, general, company (optional), and project dependencies. | ||
Also, formatting for your code will be prepared (so, you don't need to use gofmt or goimports separately). | ||
Use additional option -rm-unused to remove unused imports and -set-alias to rewrite import aliases for | ||
versioned packages. | ||
]], | ||
homepage = "https://pkg.go.dev/github.com/incu6us/goimports-reviser", | ||
categories = { Pkg.Cat.Formatter }, | ||
languages = { Pkg.Lang.Go }, | ||
install = go.packages { "github.com/incu6us/goimports-reviser", bin = { "goimports-reviser" } }, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters