vim ~/.bashrc
export GO111MODULE=on
export GOPROXY=https://goproxy.cn
export GOROOT=/home/westinyang/env/go
export GOPATH=${HOME}/go
export PATH=${GOROOT}/bin:${GOPATH}/bin:$PATH
source ~/.bashrc
vim ~/.bashrc
export GO111MODULE=on
export GOPROXY=https://goproxy.cn
export GOROOT=/home/westinyang/env/go
export GOPATH=${HOME}/go
export PATH=${GOROOT}/bin:${GOPATH}/bin:$PATH
source ~/.bashrc