Install Go tools
Fast setup go tools.
You can install the necessary tools for development in just 2 steps.
Synopsis
$ go get -u github.com/Code-Hex/go-install-tools
$ go-install-tools
Install list
It follows the following source code
https://github.com/Microsoft/vscode-go/blob/master/src/goInstallTools.ts
Auto-completion
gocode
fromgithub.com/stamblerre/gocode
gopkgs
fromgithub.com/uudashr/gopkgs/cmd/gopkgs
Go to symbol
go-outline
fromgithub.com/ramya-rao-a/go-outline
go-symbols
fromgithub.com/acroca/go-symbols
Find all references and Go to implementation of symbols
guru
fromgolang.org/x/tools/cmd/guru
Rename symbols
gorename
fromgolang.org/x/tools/cmd/gorename
Modify tags on structs
gomodifytags
fromgithub.com/fatih/gomodifytags
The Go playground
goplay
fromgithub.com/haya14busa/goplay/cmd/goplay
Stubs for interfaces
impl
fromgithub.com/josharian/impl
Show errors as you type
gotype-live
fromgithub.com/tylerb/gotype-live
Go to definition
godef
fromgithub.com/rogpeppe/godef
gogetdoc
fromgithub.com/zmb3/gogetdoc
Formatter
goimports
fromgolang.org/x/tools/cmd/goimports
goreturns
fromgithub.com/sqs/goreturns
goformat
fromwinterdrache.de/goformat/goformat
Linter
golint
fromgolang.org/x/lint/golint
gometalinter
fromgithub.com/alecthomas/gometalinter
staticcheck
fromhonnef.co/go/tools/...
golangci-lint
fromgithub.com/golangci/golangci-lint/cmd/golangci-lint
revive
fromgithub.com/mgechev/revive
Test
gotests
fromgithub.com/cweill/gotests/...
Language Server
go-langserver
fromgithub.com/sourcegraph/go-langserver
Debug
dlv
fromgithub.com/go-delve/delve/cmd/dlv
Fill structs with defaults
fillstruct
fromgithub.com/davidrjenni/reftools/cmd/fillstruct
Contribution
Very easy 3 steps :D
- Fork https://github.com/Code-Hex/go-install-tools/fork
- Commit your changes
- Create a new Pull Request
I'm waiting for a lot of PR.