golang代理使用proxy.cn,参考:https://github.com/goproxy/goproxy.cn/blob/master/README.zh-CN.md
使用方法:
$ export GOPROXY=https://goproxy.cn
或
$ export GO111MODULE=on
$ export GOPROXY=https://goproxy.cn
或直接写入:~/.bash_profile
golang代理使用proxy.cn,参考:https://github.com/goproxy/goproxy.cn/blob/master/README.zh-CN.md
使用方法:
$ export GOPROXY=https://goproxy.cn
或
$ export GO111MODULE=on
$ export GOPROXY=https://goproxy.cn
或直接写入:~/.bash_profile