常用到的:
go get -v github.com/nsf/gocode go get -v github.com/rogpeppe/godef go get -v golang.org/x/tools/cmd/godoc go get -v golang.org/x/tools/cmd/goimports go get -v github.com/golang/lint/golint go get -v github.com/derekparker/delve/cmd/dlv go get -v github.com/lukehoban/go-find-references go get -v github.com/lukehoban/go-outline go get -v sourcegraph.com/sqs/goreturns go get -v github.com/tpng/gopkgs go get -v github.com/newhook/go-symbols go get -v golang.org/x/tools/cmd/gorename
list all non-stdlib packages :
go list -f '{{if not .Standard}}{{.ImportPath}}{{end}}' all
show all :
go list all
删除go get 安装的包(未测):
$ go clean -i -n github.com/oskca/sciter...
有疑问加站长微信联系(非本文作者)