goproxy / goproxy.cn

The most trusted Go module proxy in China.
https://goproxy.cn
MIT License
6.81k stars 393 forks source link

问题:github上上传了我的项目,并创建了release,需要多久才能从goproxy.cn获取到我上传的项目的依赖 #190

Closed mingmingshiliyu closed 1 year ago

mingmingshiliyu commented 1 year ago

你确定我们的常见问题页面中没有你想要询问的问题吗?

当你执行 go version 命令后的输出结果是什么?

$ go version


当你执行 go env 命令后的输出结果是什么?

go env 的输出结果
$ go env


你做了什么?

你期望看到的结果是什么?

你实际看到的结果是什么?

aofei commented 1 year ago

并不存在主动同步,只有在某人通过 goproxy.cn 拉取过你的模块版本后,你的模块版本才会被缓存。

如果你希望某个模块版本能尽快被 goproxy.cn 缓存起来,那么你可以通过类似 go get example.com/foo/bar@v1.0.0 这样的命令来主动拉取一次。