我自己结合一篇博文总结的,今天刚实践过的,第4步不用坐
1. 在%GOPATH%\src\目录下,建立路径golang.org\x
进入到%GOPATH%\src\golang.org\x,下载需要工具的源码git clone
https://github.com/golang/tools.git 2. 进入到%GOPATH%下,执行
go install golang.org/x/tools/cmd/guru
go install golang.org/x/tools/cmd/gorename
go install github.com/mdempsky/gocode
go install github.com/uudashr/gopkgs/cmd/gopkgs
go install github.com/ramya-rao-a/go-outline
go install github.com/acroca/go-symbols
go install github.com/cweill/gotests/...
go install github.com/fatih/gomodifytags
go install github.com/josharian/impl
go install github.com/davidrjenni/reftools/cmd/fillstruct
go install github.com/haya14busa/goplay/cmd/goplay
go install github.com/godoctor/godoctor
go install github.com/go-delve/delve/cmd/dlv
go install github.com/stamblerre/gocode
go install github.com/rogpeppe/godef
go install github.com/sqs/goreturns
go install golang.org/x/lint/golint
3. 如果以上执行时有错误,请先使用go get 后,在使用上面的命令
go get github.com/mdempsky/gocode
go get github.com/uudashr/gopkgs/cmd/gopkgs
go get github.com/ramya-rao-a/go-outline
go get github.com/acroca/go-symbols
go get github.com/cweill/gotests/...
go get github.com/fatih/gomodifytags
go get github.com/josharian/impl
go get github.com/davidrjenni/reftools/cmd/fillstruct
go get github.com/haya14busa/goplay/cmd/goplay
go get github.com/godoctor/godoctor
go get github.com/go-delve/delve/cmd/dlv
go get github.com/stamblerre/gocode
go get github.com/rogpeppe/godef
go get github.com/sqs/goreturns
go get golang.org/x/lint/golint
4. 单独处理golint,golint的源码位于
https://github.com/golang/lint,进入%GOPATH%\src\golang.org\x后执行git clone
https://github.com/golang/lint下载golint需要的源码
进入到%GOPATH%下,执行
【 在 climaxhell (anti) 的大作中提到: 】
: 好坑啊
--
FROM 61.51.83.*