Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions go_docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down