2 ms·
Lately I've been working on something to address the problems that I see with go get. https://github.com/skelterjohn/wgo https://github.com/skelterjohn/wgo It
by skj 11y ago
Lately I've been working on something to address the problems that I see with go get.
https://github.com/skelterjohn/wgo https://github.com/skelterjohn/wgo
It's a workspace layer on top of the go tool, with added support for repository pinning. You 'wgo get' the repo you want, and 'wgo {save,restore}' will pin/fetch it in the future. Also, 'wgo FOO' will do 'go FOO' with GOPATH set for your workspace, so all the normal goodness is still there.
It also makes it so you don't have to manage the GOPATH env var anymore, which I always found to be a pain.