4 ms·
If there is neither GOPATH nor vendor directories, where will the downloaded packages be? I digged vgo a bit and found the downloaded packages currently reside
by teacpde 9y ago
If there is neither GOPATH nor vendor directories, where will the downloaded packages be?
I digged vgo a bit and found the downloaded packages currently reside in `$GOPATH/src/v/cache`, and seems like vgo won't work without GOPATH for now (https://github.com/golang/vgo/blob/b6ca6ae975e2b066c002388a896833851a9e54a9/vendor/cmd/go/internal/vgo/init.go#L111 https://github.com/golang/vgo/blob/b6ca6ae975e2b066c002388a8...).