go get ...
- 使用
gopm
获取无法下载的包
# 先安装gopm
go get -v github.com/gpmgo/gopm
# 再用gopm下载包
gopm get -g -v -u golang.org/x/tools/cmd/goimports
# 再安装进bin
go install golang.org/x/tools/cmd/goimports
go get ...
gopm
获取无法下载的包# 先安装gopm
go get -v github.com/gpmgo/gopm
# 再用gopm下载包
gopm get -g -v -u golang.org/x/tools/cmd/goimports
# 再安装进bin
go install golang.org/x/tools/cmd/goimports
本文标题:go get 获取和安装第三方库
本文链接:https://www.haomeiwen.com/subject/wmnmiqtx.html
网友评论