Go is an open-source language developed at Google. Here’s a quick summary of installing Go language on Ubuntu 12.04

 apt-get update

apt-get -y upgrade

curl -O https://storage.googleapis.com/golang/go1.6.linux-amd64.tar.gz

tar -xvf go1.6.linux-amd64.tar.gz

mv go /usr/local

nano ~/.profile  ->>  export PATH=$PATH:/usr/local/go/bin

source ~/.profile

mkdir $HOME/work

export GOPATH=$HOME/work

All Done !