# Check Go modules through CloudRepo

> Your Go proxy or group relays sum.golang.org, so a build that can reach only CloudRepo still checks every public module.

Go checks every public module it downloads against sum.golang.org, Go’s checksum database. Your CloudRepo Go proxy or group relays it. So the go command reads every checksum through CloudRepo, and checks each one with Go’s own key for sum.golang.org.

- Your builds do not need to reach sum.golang.org, only CloudRepo.
- The check stays on. You need no `GONOSUMDB` setting.
- Modules from CloudRepo are checked the same way as modules from proxy.golang.org.

## What to set

Nothing new. Point `GOPROXY` at your Go proxy or group, as [Pull Go modules through CloudRepo](/docs/consume/go.html) shows, and leave `GOSUMDB` as it is.

A build whose `go.sum` already lists a module does not ask about it again. Adding or upgrading a dependency does. `GOSUMDB=off` and a `GONOSUMDB` pattern turn the check off. We do not recommend either.

---

The page: https://www.cloudrepo.io/docs/consume/go-checksum-database.html
