FAQ

Goproxy China is now trying to collect as many questions as possible about the problems Gophers have when working with Go moduels and try to give the best answers. By doing this, we believe we can better help everyone use Go moduels.

If you can't find the answer to the question you want to ask below, you can always post your question by clicking the "New Question" button below. Please pay attention to follow the issue template we have prepared for you, that will help us better answer your question.



If you're using the goproxy.cn as your Go module proxy. Then you need to know in order to improve caching and serving latencies, new revisions may not show up right away. If you want new revision to be immediately available in the goproxy.cn, then first make sure there is a semantically versioned tag for this revision in the source repository. Then explicitly request that tagged version via go get module@version. After couple of minutes for caches to expire, the go command will see that tagged version.

If you're using the goproxy.cn as your Go module proxy. Then you need to know whenever possible, Goproxy China aims to cache content in order to avoid breaking builds for people that depend on your module, so this bad release may still be available in the goproxy.cn even if it is not available at the origin. The same situation applies if you delete your entire repository. We suggest creating a new release and encouraging people to use that one instead.