golang 常用包安裝
阿新 • • 發佈:2018-03-08
turn std lib sqs all rap code ola body
常用到的:
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 goget -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...
golang 常用包安裝