Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.
ubuntu 16.04 default package Golang 1.6.x. for that you need add or upgrade repository, follow the step below :
sudo add-apt-repository ppa:gophers/archivesudo apt updatesudo apt-get install golang-1.9-go
The add go the go path to the your PATH:
echo "export PATH=\$PATH:/usr/lib/go-1.9/bin" >> ~/.profilesource ~/.profilego version
read others article :