linux环境配置
vi ~/.profile
export GOROOT=/usr/local/go
export GOPROXY=https://goproxy.cn,direct
export GO111MODULE=on
export GOPATH=$HOME/go
PATH=$PATH:$GOROOT/bin
vi ~/.profile
export GOROOT=/usr/local/go
export GOPROXY=https://goproxy.cn,direct
export GO111MODULE=on
export GOPATH=$HOME/go
PATH=$PATH:$GOROOT/bin