The Go programming language is an open source project that makes programmers more productive. The Go language is highly expressive, concise, clear and efficient. Thanks to its concurrency mechanism, programs written in it can make very efficient use of multicore and networked computers, and its novel type system makes the program structure flexible and modular. The Go code compiles into machine code not only very quickly, but also has a handy garbage collection mechanism and a powerful runtime reflection mechanism. It is a fast, static type of compiled language that feels like a dynamic type of interpreted language.
Installation
Download the Go Language installation package:
wget https://storage.googleapis.com/golang/go1.10.2.linux-amd64.tar.gz
Unzip the file:
sudo tar-c/usr/local-xzf go1.10.2.linux-amd64.tar.gz
To create a Go language working directory:
mkdir $HOME/go
Configuring Environment variables
Switch to the current user root directory under enter command gedit. BASHRC or VI BASHRC
Then you will:
Export Goroot=/usr/local/go
Export Gopath= $HOME/go
Export path= $PATH: $GOROOT/bin: $GOPATH/bin
Append to the last face.
Test if your go was installed successfully
Go version
Installation succeeds if the version number is displayed correctly