1、在%GOPATH%\src\ 目录下,建立golang.org 文件夹,并再新建x文件夹。 目录为 "%GOPATH\src\golang.org\x\"
2、进入%GOPATH\src\golang.org\x\目录
3、完成目录切换后,开始下载插件包:git clone https://github.com/golang/tools.git tools
4、进入“%GOPATH”目录,执行:
go get github.com/ramya-rao-a/go-outline
go get github.com/acroca/go-symbols
go get golang.org/x/tools/cmd/guru
go get golang.org/x/tools/cmd/gorename
go get github.com/josharian/impl
go get github.com/rogpeppe/godef
go get github.com/sqs/goreturns
go get github.com/golang/lint/golint
go get github.com/cweill/gotests/gotests
相关包
go get -u -v github.com/lukehoban/go-find-references