Created
March 30, 2017 21:39
-
-
Save mechazod/49ee1f9b62bb0a3e2839b3a920b44a97 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Installing go 1.4 with homebrew on OSX: | |
1) Create Directories | |
mkdir $HOME/Go | |
mkdir -p $HOME/Go/src/github.com/user | |
2) Setup your paths | |
export GOPATH=$HOME/Go | |
export GOROOT=/usr/local/opt/go/libexec | |
export PATH=$PATH:$GOPATH/bin | |
export PATH=$PATH:$GOROOT/bin | |
3) Install Go | |
brew install go | |
4) "go get" the basics | |
go get golang.org/x/tools/cmd/godoc | |
5) Start here: https://golang.org/doc/code.html at "your first program" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment