Update gopath explain

This commit is contained in:
vCaesar
2017-02-17 22:16:12 +08:00
parent 0a68b5c3e5
commit 0414045e97
4 changed files with 8 additions and 4 deletions

View File

@@ -121,7 +121,7 @@ export GOBIN=$GOROOT/bin
export PATH=$PATH:$GOBIN
export GOPATH=HOME/gopath
```
Starting from go 1.8,The GOPATH environment variable now has a default value if it is unset. It defaults to $HOME/go on Unix and %USERPROFILE%/go on Windows.
### Homebrew
Homebrew is a software management tool commonly used in Mac to manage packages. Just type the following commands to install Go.