diff options
author | Cameron Moore <moorereason@gmail.com> | 2016-02-05 00:05:04 -0600 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2016-02-06 15:31:25 +0100 |
commit | 45df4596bb065c944c1c16d3c5be8042f64ebba2 (patch) | |
tree | 5e75c8b2f079264424dc690bd5c832b587b16fd7 /commands | |
parent | e95f3af933ea58df0389facca9bfde1119ef2bf4 (diff) |
tpl: Add humanize func and cleanup lint
Add humanize (inflect.Humanize) to the template funcMap. Documentation and
tests are included.
Various code cleanups of the template funcs:
- Break pluralize and singularize out into stand-alone funcs.
- Sort the list of funcMap entries.
- Add some minimal godoc comments to all public funcs.
- Fix some issues found by golint and grind.
Diffstat (limited to 'commands')
0 files changed, 0 insertions, 0 deletions