Created
April 19, 2017 02:37
-
-
Save wujiyu115/e8081bd41bb61524c772b961bbe053c6 to your computer and use it in GitHub Desktop.
go环镜设置
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir -p ~/gopath/bin | |
mkdir -p ~/gopath/src | |
midir -p ~/gopath/pkg | |
sudo chown -R far:far /home/gopath | |
chmod -R 777 /home/gopath | |
export GOPATH=~/gopath |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment