image
3)安装golint
go get -u -v github.com/golang/lint/golint
image
4)安装go-find-references
go get -u -v github.com/lukehoban/go-find-references
image
5)安装go-outline
go get -u -v github.com/lukehoban/go-outline
image
6)安装goreturns
go get -u -v sourcegraph.com/sqs/goreturns
image
7)安装gorename
go get -u -v golang.org/x/tools/cmd/gorename
image
8)安装gopkgs
go get -u -v github.com/tpng/gopkgs
image
9)安装go-symbols
go get -u -v github.com/newhook/go-symbols
image
集成安装命令,拷贝到cmd窗口就可完成安装:
go get -u -v github.com/nsf/gocode
go get -u -v github.com/rogpeppe/godef
go get -u -v github.com/golang/lint/golint
go get -u -v github.com/lukehoban/go-find-references
go get -u -v github.com/lukehoban/go-outline
go get -u -v sourcegraph.com/sqs/goreturns
go get -u -v golang.org/x/tools/cmd/gorename
go get -u -v github.com/tpng/gopkgs
go get -u -v github.com/newhook/go-symbols
3、使用 Hello word