drewdevault.com
2 votes
charlag
I feel kinda sorry that GOPATH gone. If you wasn't bothered by GOPATH you probably wouldn't be bothered by `interface{}`, `err != nil` & other Go's horrors^W traits.
1 vote
redrose
Why was GOPATH a problem though? Lots of other software use environment variables, for example JAVA_HOME or ANDROID_HOME or MANPATH...
1 vote
charlag
With JAVA_HOME and the like you tell where language libraries are. with GOPATH you tell where everything is, isn't it?
1 vote
redrose
I think you're right
> The GOPATH environment variable lists places to look for Go code
the equivalent of JAVA_HOME is probably GOROOT.