Following the examples on http://www.golangbootcamp.com/