Skip to content

Pass through GOPATH to control cache location

Jacob Vosmaer requested to merge jv-pass-through-gopath into master

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