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.
interface{}
err != nil
Why was GOPATH a problem though? Lots of other software use environment variables, for example JAVA_HOME or ANDROID_HOME or MANPATH…
With JAVA_HOME and the like you tell where language libraries are. with GOPATH you tell where everything is, isn’t it?
I think you’re right
The GOPATH environment variable lists places to look for Go code
the equivalent of JAVA_HOME is probably GOROOT.
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.Why was GOPATH a problem though? Lots of other software use environment variables, for example JAVA_HOME or ANDROID_HOME or MANPATH…
With JAVA_HOME and the like you tell where language libraries are. with GOPATH you tell where everything is, isn’t it?
I think you’re right
the equivalent of JAVA_HOME is probably GOROOT.