命令行: cat ~/.bash_profile
export GOPATH=/Users/wangfengying/go
export GOBIN=$GOPATH/bin
export GOPROXY=http://goproxy.xxx.co // 注意:xxx自定
export GO111MODULE=on
export GOSUMDB=off
export PATH=$PATH:$GOPATH:$GOBIN
命令行: cat ~/.bash_profile
export GOPATH=/Users/wangfengying/go
export GOBIN=$GOPATH/bin
export GOPROXY=http://goproxy.xxx.co // 注意:xxx自定
export GO111MODULE=on
export GOSUMDB=off
export PATH=$PATH:$GOPATH:$GOBIN