Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



I 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 master --squash




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: