Code from the golang book, as well as other fun stuff.