This shell script will install the golang of the latest stable plate Raspbian of Raspberry Pi.
git clone https://github.com/WhiteRaven777/raspi-go-installer.git
cd raspi-go-installer
chmod +x ./install.sh
./install.sh
sudo apt-get install libxml2-utils