Closed DanielHeath closed 11 years ago
Isn't GOPATH
project specific? Also, I'm pretty sure I read about some GOROOT
madness in 1.1.1 (which actually sounds more like a _vm problem).
Right now I haven't even tackled installers, except as a general note about how you would implement them as contrib modules, although I might do that for ruby-install at least since a few people are now using it at work.
This suggests that GOROOT
is specific to the go install, and GOPATH
is a project thing, which makes sense.
I'll make _go
GOROOT
aware, but: http://code.google.com/p/go-wiki/wiki/GOPATH suggests that there are some nasty side effects to having both.
Golang only needs one environment variable set; GOPATH.
Homebrew and apt both have install scripts, but building from source might be better given how frequently solid improvements are landing at the moment.