gofmt and fix typo in example.
Merge pull request #14 from alberts/master

gofmt and fix typo in example.