golang 配置goproxy 几个可选的地址

对于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
 
说明

国内一般来说使用阿里云的基本够用了,但是有时阿里云也会不好使,后边的几个可以可以做为后备,以备
不时之需,以上是我目前发现的一些比较好的,后期有的

参考资料

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

posted on   荣锋亮  阅读(17685)  评论(0编辑  收藏  举报

编辑推荐:
· 一个奇形怪状的面试题:Bean中的CHM要不要加volatile?
· [.NET]调用本地 Deepseek 模型
· 一个费力不讨好的项目,让我损失了近一半的绩效!
· .NET Core 托管堆内存泄露/CPU异常的常见思路
· PostgreSQL 和 SQL Server 在统计信息维护中的关键差异
阅读排行:
· DeepSeek “源神”启动!「GitHub 热点速览」
· 我与微信审核的“相爱相杀”看个人小程序副业
· 上周热点回顾(2.17-2.23)
· 如何使用 Uni-app 实现视频聊天(源码,支持安卓、iOS)
· spring官宣接入deepseek,真的太香了~
历史上的今天:
2018-08-27 stardog 基本试用(社区版)

导航

< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8
点击右上角即可分享
微信分享提示