Hacker News new | ask | show | jobs
by cyphar 2742 days ago
Though of course if you don't use "go mod vendor" then "go build" will require an internet connection, which is a problem for most distributions (package builds generally don't have an internet connection).
1 comments

Why aren't your go build tools pulling from the GOPATH/pkg/mod/cache directory?

This would alleviate the need for your build to have a internet connection no?

Fresh builds (in an "rpmbuild" for instance) don't use a cache, for obvious reasons.