zl程序教程

您现在的位置是:首页 >  云平台

当前栏目

golang 设置代理

代理Golang 设置
2023-09-11 14:18:38 时间
go env -w GOPROXY=https://goproxy.cn,direct
  • 阿里云
    配置如下:
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