GOROOT&GOPATH设置

GOROOT&GOPATH设置

export GOROOT=/usr/local/go
export PATH=$PATH:$GOROOT/bin
export GOPATH=/golang/code 
export PATH=$PATH:$GOPATH/bin

猜你喜欢

转载自www.cnblogs.com/shuchengyi/p/11406961.html