安装路径
/usr/local/go
添加环境变量
export PATH=$PATH:/usr/local/go/bin export GOPATH=$HOME/go
设置gopath
https://github.com/golang/go/wiki/SettingGOPATH