go 环境变量配置 (mac)

#go
export GOROOT=/usr/local/go
export GOARCH=amd64
export GOOS=darwin
export GOPATH=/Users/user/workspace/gopath
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin

你可能感兴趣的:(go 环境变量配置 (mac))