3 ms·
set -x GOPATH (PWD)/.vendor set -x GOBIN (PWD)/.vendor/bin And committing stuff in git when it matters. gvm is also nice for testing stuff with different vers
by dz0ny 12y ago
set -x GOPATH (PWD)/.vendor
set -x GOBIN (PWD)/.vendor/bin
And committing stuff in git when it matters.
gvm is also nice for testing stuff with different versions of go.
- rem7 12y agoI also setup my path per project. And vendor all my deps under _vendor And for getting libraries instead of doing go get I use git subtrees like so: git subtree add --prefix _vendor/src/github.com/crowdmob/goamz https://github.com/crowdmob/goamz.git https://github.com/crowdmob/goamz.git master --squash