Created compileable cmd from example in README file. Pass code through gofmt