Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tpl: Add humanize func and cleanup lint #1818

Closed
wants to merge 1 commit into from

Commits on Feb 5, 2016

  1. 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.
    moorereason committed Feb 5, 2016
    Configuration menu
    Copy the full SHA
    8e5aeb6 View commit details
    Browse the repository at this point in the history