On Monday, March 11, 2019 at 12:30:02 AM UTC+1, Wael Nasreddine wrote:
>
> TL;DR Given a Go module, assuming that I have already done `go mod 
> download`: Is it possible to prevent network access if I delete the entire 
> `$GOPATH/pkg/mod/cache`?
>
>
Yes.  Use `go mod vendor` and the -mod=vendor build flag.

> [...]

Manlio Perillo

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to