Hacker News new | ask | show | jobs
by burntsushi 4540 days ago
> Go requires me to instead dedicate an entire directory structure to my entire Go workspace, which I have to keep seperate from the other sources.

Symlinks solves this for me.

> This could easily be avoided by letting me set enviornment variables that would relocate some of these folders (especially bin and pkg) to different places.

AFAIK, `GOBIN` will allow you to relocate `bin`. I'm not aware of any such env var for `pkg`.

> This is an example of how Go as a language is pretentious.

It's not pretension. It's following a philosophy that prefers convention over configuration.[1]

[1] - http://golang.org/doc/articles/go_command.html#tmp_1