hhstore / blog

My Tech Blog: about Mojo / Rust / Golang / Python / Kotlin / Flutter / VueJS / Blockchain etc.
https://github.com/hhstore/blog/issues
280 stars 23 forks source link

Golang: Fuck GFW - Goproxy - Go Package Mirror #152

Open hhstore opened 5 years ago

hhstore commented 5 years ago

go 官方mirror:

# 代理:
GOPROXY=https://proxy.golang.org

目前社区搭建的镜像源:

用法:

# 公网:
export GOPROXY=https://goproxy.io
export GOPROXY=https://goproxy.cn
# 内网:
export GOPROXY=http://mirrors.bilibili.co/goproxy/

echo "GOPROXY=https://goproxy.cn" >> ~/.profile && source ~/.profile

ref:

aofei commented 4 years ago

你好作者,这个 goproxy.io 不是官方的哟,它是一个由个人搭建的跑在个人单机服务器上的项目。

然后,我们目前正在争取使 goproxy.cn 成为 Go 在中国的官方模块代理,而且我上周五我已经和七牛云那边儿完成了交接和数据迁移,包括域名我也已经过户给了他们并由他们进行了备案。现在 goproxy.cn 完全跑在七牛云平台上,且经过 CDN 进行了全球加速,经实际测试它和官方的 proxy.golang.org 访问速度不相上下(不只是在中国)。而且我这几天还在和七牛云的员工一起为 goproxy.cn 做高可用,所以欢迎你来使用哦~有问题可以直接反馈我的。😊

6545DD1B-87FA-4EA0-A46A-916C44141CA4

CEA929DB-DED7-4C2C-93E4-1F63AB1C6CF5

hhstore commented 4 years ago

@aofei 可以, 很棒.