This package includes the following functionality. Display information about your current go installation, by running go version and go env. Autocomplete using gocode
Format your code with gofmt, goimports, or goreturns; optionally run one of these tools on save of any .go file. Run go install . and go test -c -o {tempdir} . to verify your code compiles and to keep gocode suggestions up to date. Run a variety of linters (e.g. golint, vet, etc.) against your code using gometalinter, revive or golangci-lint. Run tests, display test output, and display test coverage using go test -coverprofile. Display documentation for identifiers in source code using gogetdoc. Rename the symbol under your cursor using gorename. Go to definition using guru or godef. Highlight occurrences of an identifier using guru. Find usages of an identifier using guru.
Features
- The package has CI for OS X, Windows and Ubuntu
- You can add debug functionality to Atom
- gocode (and a few other tools, like gotype) work on .a files (i.e. the package object archive)
- Ensures your autocomplete suggestions are kept up to date
- If you are missing any required tools, you may be prompted to install them
- You can also manually install the required tools in your terminal