This training on the go programming language describes go the from ground up using lots of examples. Most examples can be run and edited from within the presentation.
The interactive presentation can be viewed using the "present"-tool. Find more instruction here.
Have git installed
brew install git # on mac
Have golang installed
brew install go # on mac
git clone https://github.com/MarcGrol/go-training.git
Source-code of all the examples, exercises and solutions will end up in the just cloned directory tree:
cd go-training
Compile and install all little programs with the project
go install ./...
All compiled executables will end up here:
${HOME}/go/bin