1.下載全部依賴包:
CMD項目目錄下運行下面指令可以自動獲取依賴包
go get -d -v ./...
2.設(shè)置代理:
配置代理地址:https://goproxy.io,在idea中可以直接配置go moudle的代理地址為這個url述呐;
3.手動下載依賴包:
#gopath#/src/golang.org/x
git clone https://github.com/golang/sys.git
git clone https://github.com/golang/net.git
git clone https://github.com/golang/text.git
t git clone https://github.com/golang/lint.git
git clone https://github.com/golang/tools.git
git clone https://github.com/golang/crypto.git