At the risk of lazy-web, I just came off an attempt at writing a small service in Go. I liked the language, but found vendoring and package/dependency management sucked most of my time, and I never reached a workable conclusion. I'd really like to give Go another, heh, go. I know it's an open topic, and there's no true "one way", but I'm wondering how people here would handle this situation. And perhaps it's my Pytho…
Your Go "project" goes in $GOPATH/src, i.e. your git repo would be in $GOPATH/src/github.com/user/repo
If you have your main pkg in $REPO/service, then you can build like so: go build github.com/user/repo/service (this can be ran from anywhere as it uses $GOPATH)
If you need to add a dependency, use: go get github.com/.... and go get will add it to $GOPATH/src/ which you can then import.