https://golang.org/doc/install?download=go1.10.linux-amd64.tar.gz#help
https://golang.org/doc/code.html
安装非常方便
下载go。。。tar文件 tar -C /usr/local -xzvf go1.10.lin.... .tar.gz
cd /usr/local/go
vi /etc/profile 或则 vi ~/.profile
export PATH=$PATH:/usr/local/go/bin
source .bash_profile 查看path是否修改成功$PATH
cd ~/
mkdir -p go/src/hello
cd ~/go/src/hello vi hello.go文件
go build
./hello 成功执行
How to Write Go Code:
https://golang.org/doc/code.html