golang 配置goproxy 几个可选的地址

golang 配置goproxy 几个可选的地址

对于golang 语言的开发,对于国内来讲有点被动,须要想各类方法,通常的解决方法以下:golang

  • 使用代理工具(FQ)
  • 配置goproxy

目前发现的几个不错的goproxy

  • 阿里云
    配置以下:
 
export GOPROXY=https://mirrors.aliyun.com/goproxy/
  • nexus社区提供的
    配置以下:
export GOPROXY=https://gonexus.dev
  • goproxy.io 的
    配置以下:
export GOPROXY=https://goproxy.io/
  • 基于athens的公共服务
    配置以下:
export GOPROXY=https://athens.azurefd.net

  • 官方提供的(jfrog,golang)
export GOPROXY=https://gocenter.io
export GOPROXY=https://proxy.golang.org

  • 七牛云赞助支持的
export GOPROXY=https://goproxy.cn
 
说明

国内通常来讲使用阿里云的基本够用了,可是有时阿里云也会很差使,后边的几个能够能够作为后备,以备
不时之需,以上是我目前发现的一些比较好的,后期有的ide

参考资料

https://goproxy.io
https://gonexus.dev/
https://mirrors.aliyun.com/goproxy/
https://docs.gomods.io工具

相关文章
相关标签/搜索