Class: Goimports
Defined in: | src/beautifiers/goimports.coffee |
Inherits: | Beautifier |
Variables Summary
- name =
-
"goimports"
- link =
-
"https://godoc.org/golang.org/x/tools/cmd/goimports"
- executables =
-
[ { name: "goimports", cmd: "goimports", homepage: "https://godoc.org/golang.org/x/tools/cmd/goimports", installation: "https://godoc.org/golang.org/x/tools/cmd/goimports", version: { /* Does not display version */ args: ['--help'], parse: function(text) { return text.indexOf("usage: goimports") !== -1 && "0.0.0"; }, runOptions: { ignoreReturnCode: true, returnStderr: true } }, docker: { image: "unibeautify/goimports" } } ]
- options =
-
{ Go: false }
Variable inherited from Beautifier
Promise name options executables _exe languages beautify logger
Instance Method Summary
Inherited Method Summary
Methods inherited from
Beautifier
#isPreInstalled #loadExecutables #exe #deprecate #deprecateOptionForExecutable #tempFile #readFile #findFile #getDefaultLineEnding #which #run #setupLogger
Instance Method Details
#
(void)
beautify(text, language, options)