Private Go Module Proxy

CloudRepo proxies proxy.golang.org for your Go builds. Set GOPROXY to your repository's URL. Go still checks every public module against sum.golang.org.

Every feature on every plan, from $99/month billed annually.

14 days free. No credit card required.

Serving developers since 2016 Founder-run, no venture capital

~/.netrc
machine your-org.mycloudrepo.io
login you@example.com
password YOUR_REPOSITORY_TOKEN
Terminal
go env -w GOPROXY=https://your-org.mycloudrepo.io/repositories/your-repo
Go proxy and group repositories are in early access. Hosting your own Go modules comes later. Before you run these, you need a Go proxy repository and a repository token: setup below.

Included on every plan

Plans differ only in storage and transfer allowance.

Coming soon: Access log

What you get

A Go module proxy for your team, with no server to run.

  • One URL for your builds Set GOPROXY to your repository's URL alone, and put the token in .netrc. The URL carries no token, so go env shows none.
  • A copy of each module The first time a build asks, CloudRepo fetches each .info, .mod and .zip from proxy.golang.org, keeps a copy and serves that copy after.
  • Current version lists The version list and @latest are passed through from proxy.golang.org.
  • The checksum check stays on The go command checks every public module it downloads against sum.golang.org, Go's checksum database. CloudRepo does not stand in for it: the go command asks sum.golang.org itself.
  • A token for every pull Every pull from a Go repository takes a repository token. A wrong or missing one is refused with 401 Unauthorized.
  • Go groups One URL in front of your Go proxies. A group asks them in Priority order and serves the first answer.

Before your first build

Three things, then the two lines at the top of this page.

A Go proxy repository

In the admin portal, create a repository with Go as the Format and Proxy as the Kind. Its upstream is proxy.golang.org, the Go module mirror. Pull Go modules through CloudRepo

A repository token

For Go, the login is the email address of your CloudRepo account, the one that makes the token, and the password is the token itself. Run chmod 600 ~/.netrc so that only you can read the file. Repository tokens

Your own modules, in GOPRIVATE

If your team's own modules live in your git host, name their prefix in GOPRIVATE. Modules under it come straight from your git host, with your git credentials.

Terminal
go env -w GOPRIVATE=github.com/acme

Every step, in the docs

Each page has the full setup and its troubleshooting.

Point your Go builds at CloudRepo

14 days free. No credit card required.

Chris Shellenbarger, founder of CloudRepo

Founder-run since 2016, with no venture capital. A real person answers within one business day. Usually it's me.

Chris, founder of CloudRepo