Go Overview
This is an overview of the go programming language for developers familiar with either Python, Java or C.
Run
To view the slides you'll need go installed, and then you'll need the present
command. This can be obtained by running go install golang.org/x/tools/cmd/present
.
To launch the slides run ./run.sh
in a checkout of this repository and visit: http://localhost:3999/class.slide.
Resources
Go Standard Library
DevDocs
Effective Go
Less is exponentially more
Visualizing Concurrency in Go
Setting up on Mac
Make sure you have git installed via Xcode.
Download the binary .tar.gz (not the .pkg) from golang.org/dl: https://golang.org/dl/go1.15.1.darwin-amd64.tar.gz
Extract into ~/goroot so GOROOT and GOPATH don't conflict:
tar xzvf go1.15.1.darwin-amd64.tar.gz
mv go ~/goroot
Add to your PATH in ~/.bash_profile
:
PATH="${HOME}/goroot/bin:${HOME}/go/bin:${PATH}"
export PATH
Reload your ~/.bash_profile
:
source ~/.bash_profile
Make sure you're running the expected version of Go:
which go
go version