Como mudar o Gopath
export GOPATH=$HOME/go
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin
Tanishq Vyas
export GOPATH=$HOME/go
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin