Hacker News new | ask | show | jobs
by Jonhoo 4063 days ago
While I wish it was this simple, not having your application be "GOPATH ready" (i.e. allowing it to be directly set to be GOPATH) makes a lot of other things harder. For example, build and benchmark scripts that need to compile the application from source (and thus can't necessarily use `go get`), now need to take care to construct two parent directories before checking out the code. The fact that go doesn't follow symlinks when building doesn't make things easier either. It also forces you to file away your projects deep in your $GOPATH directory, rather than organizing them in other (better) ways and then linking them into your $GOPATH.