GO语言环境变量设置

sudo nano /home/skey/.profile

export GOROOT=$HOME/go
export GOOS=linux
export GOARCH=386
export GOBIN=$HOME/bin
export PATH=$GOBIN:$PATH

你可能感兴趣的:(golang,go语言)