diff --git a/go_docs/README.md b/go_docs/README.md index fea3d98..2eddb7d 100644 --- a/go_docs/README.md +++ b/go_docs/README.md @@ -13,14 +13,14 @@ $ sudo tar -xvf go1.10.linux-amd64.tar.gz $ sudo mv go /usr/local ``` -**GOROOT**: your go language installation directory, default is /usr/local/go, these needs to be set in PATH variable +**GOROOT**: your GO language installation directory, default is /usr/local/go, these needs to be set in PATH variable ``` export PATH=$PATH:/usr/local/go/bin if installation directory is custom, you need to set GOROOT also export GOROOT=/home/mygo/go export PATH=$PATH:$GOROOT/bin ``` -**GOPATH**: your go language workspace directory, default is $home/go on unix, if you want to setup workspace at a custom location you need to set GOPATH environment variable. +**GOPATH**: your GO language workspace directory, default is $home/go on unix, if you want to setup workspace at a custom location you need to set GOPATH environment variable. ``` export GOPATH=$HOME/Projects/ADMFactory/Golang export PATH=$PATH:$GOROOT/bin:$GOPATH/bin