This guide is about how to setup the Golang Environment on Ubuntu for VIMs/Edge.
$ mkdir source
Extract the Golang tarball to somewhere like:
~/source$ sudo tar -C /usr/local -xzf go1.10.3.linux-arm64.tar.gz
export PATH=$PATH:/usr/local/go/bin to the end of file
Logout or execute the following command.
~/source$ source ~/.bashrc
~/source$ go version
If Golang has installed successfully, you’ll see it’s version number (above).
Create a “HelloWorld.go” file, build & run it.
~/source$ cat HelloWorld.go