解决go依赖包安装问题
设置go代理
echo "export GOPROXY=https://goproxy.cn" >> ~/.profile && source ~/.profile
下载github的package替代golang.org的package
git clone --depth=1 https://github.com/golang/text.git $GOPATH/src/golang.org/x
git clone --depth=1 https://github.com/golang/crypto.git $GOPATH/src/golang.org/x/crypto
git clone --depth=1 https://github.com/golang/net.git $GOPATH/src/golang.org/x/net
git clone --depth=1 https://github.com/golang/sys.git $GOPATH/src/golang.org/x/sys
git clone --depth=1 https://github.com/golang/tools.git $GOPATH/src/golang.org/x/tools
go get -u github.com/qiniu/x/log
相关推荐
WinerChopin 2020-02-21
ThinkingLink 2019-12-09
疯狂程序员 2016-03-09
yaohustiAC 2019-06-28
海欣海夜 2011-05-17
Sardkit 2019-06-13
Qunicy 2019-04-03
PHP100 2019-03-28
MATLAB 2017-12-10