GOPATH entry cannot start with shell...
path should be /go and not ~/go beacause of this:
root@xxx:~# go get github.com/madcowfred/GoPostStuff go: GOPATH entry cannot start with shell metacharacter '~': "~/go"
and:
root@xxx:~# go get github.com/madcowfred/GoPostStuff package code.google.com/p/gcfg: unable to detect version control system for code.google.com/ path
I had to do export GOPATH="/home/username/go".
"/go" seems to indicate a folder go in the root of the filesystem, which might work, but not what I wanted.
Just wanna add that I find that doing
export GOPATH="$HOME/go"
feels 🏠-like
or export GOPATH=~/go without quotes, with quotes ~ is not expanded and go complains.
Thank you f-a-a export GOPATH="$HOME/go" IT WORKED