Clone update-golang by @udhos
git clone https://github.com/udhos/update-golang
cd update-golang
sudo ./update-golang.sh
source /etc/profile.d/golang_path.sh
While you're at it install mosint
Because hey, that was your purpose anyway...
go install -v github.com/alpkeskin/mosint@latest
cd ~
vi .bashrc
export GOROOT=$HOME/go
export PATH=$PATH:$GOROOT/bin