Pass through GOPATH to control cache location

Helps #1861 (closed)

Without this change, you have no control over where Go keeps downloaded modules. With this change, you can do something like:

GOPATH=/my/go-cache-directory make

And you won't get files in $HOME/go.

Merge request reports

Loading
Loading