Update INSTALLGO.md

Added the .bash_profile changes for mac & modified .bashrc content for ubuntu.
This commit is contained in:
koolhead17
2015-11-12 19:01:05 +05:30
parent 299fea13d5
commit e060875409
+12 -4
View File
@@ -23,9 +23,17 @@ Add the following exports to your ``~/.bashrc``. Environment variable GOROOT spe
and GOPATH specifies the location of your project workspace.
```sh
$ export GOROOT=${HOME}/bin/go
$ export GOPATH=${HOME}/go
$ export PATH=$PATH:${HOME}/bin/go/bin:${GOPATH}/bin
export GOROOT=${HOME}/bin/go
export GOPATH=${HOME}/go
export PATH=$PATH:${HOME}/bin/go/bin:${GOPATH}/bin
```
```sh
$ source ~/.bashrc
```
##### Testing it all
```sh
$ go env
```
## OS X (Yosemite) 10.10
@@ -66,7 +74,7 @@ export PATH=$PATH:${GOPATH}/bin
##### Source the new enviornment
```sh
$ source ~/.bashrc
$ source ~/.bash_profile
```
##### Testing it all