Go Programming (golang) – Mac GOPATH Setup



Go Programming (golang) – Mac GOPATH Setup

Go Programming (golang) - Mac GOPATH Setup

Learn Go programming, from beginner to pro!
A quick tutorial on how to configure your GOPATH environment variable on Mac OS.

Terminal/Shell Commands:
$ cd
$ sudo nano .bash_profile

Add this to .bash_profile:
export GOROOT=”/usr/local/go”
export GOPATH=”/directory/to/your/workspace”
export PATH=”/directory/to/your/workspace/bin:$PATH”

Twitter: https://twitter.com/digerati_online