Automatic Homebrew GOROOT

Put the following in your ~/.profile and be sure to source it when installing, or linking other versions of, Go through Homebrew.

export GOROOT=$(realpath $(dirname $(realpath $(brew --prefix)/bin/go))/..)