Use syntax highlighting for Go fenced code block.

See https://help.github.com/articles/github-flavored-markdown/#syntax-highlighting.
Also apply gofmt to the Go code.