Golang for the development of language, a bit passive for domestic, need to think about the various methods, the general solution is as follows:
- Use a proxy tool (over the wall)
- Configuration goproxy
Several currently found in good goproxy
- Ali cloud
configuration is as follows:
export GOPROXY=https://mirrors.aliyun.com/goproxy/
- nexus community of
configuration is as follows:
export GOPROXY=https://gonexus.dev
- goproxy.io the
configuration is as follows:
export GOPROXY=https://goproxy.io/
- Athens-based public service
configuration is as follows:
export GOPROXY=https://athens.azurefd.net
- The official provided
export GOPROXY=https://gocenter.io
export GOPROXY=https://proxy.golang.org
Explanation
General domestic use basic enough of a cloud Ali, Ali cloud but sometimes will not help, several behind can be used as back-up to prepare for
a rainy day, these are some of the better I have found so far, some late
Reference material
https://goproxy.io
https://gonexus.dev/
https://mirrors.aliyun.com/goproxy/
https://docs.gomods.io