diff --git a/doc/ci/caching/index.md b/doc/ci/caching/index.md index 24eeb4cbf33c63c403feb39e04ebc6c2d19069d5..2f2660f57e762f2ef288202cd82f120f104a1c90 100644 --- a/doc/ci/caching/index.md +++ b/doc/ci/caching/index.md @@ -332,9 +332,9 @@ rspec: ### Caching Go dependencies Assuming your project is using [Go Modules](https://github.com/golang/go/wiki/Modules) to install -the Go dependencies, the following example defines `cache` globally so that -all jobs inherit it. Go modules are installed in `${GOPATH}/pkg/mod/` and -are cached for all of all the `go` projects: +Go dependencies, the following example defines `cache` in a `go-cache` template, that +any job can extend. Go modules are installed in `${GOPATH}/pkg/mod/` and +are cached for all of the `go` projects: ```yaml .go-cache: