What is the best practice to install packages (those with go get...) in a local directory?
go get...
Example: I\'d like to try out the Revel web framework, but I don\
You can export the env variable GOPATH. For me it is ~/local/lib/go. This folder has the subfolders bin, pkg and src, so it's just like /usr/local/go. The go-tool will then automatically download , build and install packages into this directory.
GOPATH
~/local/lib/go
bin
pkg
src
/usr/local/go
go