Go Programming (golang) - Mac GOPATH Setup

Published: 05 February 2016
on channel: digerati
24,824
222

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:   / digerati_online  


Watch video Go Programming (golang) - Mac GOPATH Setup online without registration, duration hours minute second in high quality. This video was added by user digerati 05 February 2016, don't forget to share it with your friends and acquaintances, it has been viewed on our site 24,82 once and liked it 22 people.