summaryrefslogtreecommitdiff
path: root/test/fixers/test_goimports_fixer_callback.vader
AgeCommit message (Collapse)Author
2019-08-02Fix #2668 - Set g:ale_go_go111modulew0rp
2019-07-01Support $GO111MODULE with Go toolingElias Martinez Cohen
Allows the user to override $GO111MODULE environment variable through ale options. This gives control over the default behavior of Go module resolution. Golang documentation: https://github.com/golang/go/wiki/Modules#how-to-use-modules Add `ale#Go#EnvString()` function to make it easy to add similar Go environment variables in the future. Use the new `EnvString` function in all available Go tools callbacks & update tests Also add test of linter command callback for `gofmt`
2017-12-08goimports fixer doesn't work for vendored librariesMartin Tournoij
In Go you can "vendor" packages by putting them in the `vendor/` directory for a project. Adding the `-srcdir` argument makes `goimports` pick up these packages, in addition to what you have in GOPATH. Without this, `goimports` is not very useful, since most projects vendor their packages.
2017-11-14Add tests for the goimports fixer commandsw0rp
2017-11-14Added support for goimports fixer (#1123)Jeff Willette
* Added support for goimports fixer * added test and executable check * fixed test assertions to reflect executable check