Go (GoLang)
Caching
Directories:
~/go/pkg/mod
Cache key:
# <architecture>-<lockfile checksum>-<static version>
{{ arch }}-{{ checksum "go.sum" }}-v1
To find the directories to be cached, you can run the following command:
go env GOMODCACHE
Directories:
~/go/pkg/mod
Cache key:
# <architecture>-<lockfile checksum>-<static version>
{{ arch }}-{{ checksum "go.sum" }}-v1
To find the directories to be cached, you can run the following command:
go env GOMODCACHE