Introduce Private

English | 中文版



Many Gophers in the world use as their public Go proxy。Now we intridoce the Private, you can get your public and private codebase using the service.

Getting started

First,you need login via Github OAuth.


After that, click "New Repo" to add your private repository URL,then add the public key into your given repository.


github help doc

File a issue if you have any question.

Please check the error message after you click the Add button. You will back to the index page if you add repository successfully.

Then replace the GOPROXY environment with the following command:

export GOPROXY="https://yourname:Znb***,direct"

At last, you should set local environment:

# Or

to skip Go sumdb verify, we recommend you use GONOSUMDB environment since it's more security.

All right, now you can get public and private using, and only you can get your private codebases.

go get


The service is beta. Everyone can add 3 private repositories. Try it now.


1. Why do I need to set the GOSUMDB=off environment variable locally?

Because the sumdb cannot record the hash value of the private repository, it will cause the local Go command to fail the verification after downloading. It is recommended to use the environment variable to turn off the verification, or use the environment variable GONOSUMDB to skip the private library only you configured, which is a bit troublesome but secure.

2. Why did I fail to add a repository?

First, make sure that the address of the repository is filled in correctly. You can fill in the address of the ssh or https protocol, then make sure that your repository address is private, and the public repository address cannot be added. Finally, make sure that the public key generated by has been configured into the repository.

3. After configuring according to the document, will my public repository fetch be affected?

It will not be affected, once configured, you can use both the public and private codebase for accelerated pull and fetch using the service.

4. Will my private repository be pulled by others?

The private repository you configured can only be pulled through the token you configured locally, and no one else can get it. Overseas private repositories are accelerated by Hong Kong servers and do not use any CDN services for private requests.

5. How many private repositories can each user add?

Each user can add 3 private repositories. If don’t meet your needs, feel free to email us and we will help you increase your quota.

6. What should I do if my token is leaked?

If it is leaked, please send us an email: and we will reset it for you as soon as possible.

7. I have a problem, how can I report it?

Feel free to email us directly, or file an issue for feedback.