We're going to install Go 1.14 which is latest as of time of this writing. EOL info
sudo apt install golang-1.14 echo "export PATH=\$PATH:/usr/lib/go-1.14/bin" >> ~/.bashrc source ~/.bashrc
Now test with
go version
Consider implementing environment variables GOROOT and GOPATH. See Всё, что вы хотели знать про GOPATH и GOROOT