Working snippets of Go code