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

Conversation

moorereason
Copy link
Contributor

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.

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.
@bep
Copy link
Member

bep commented Feb 6, 2016

This looks good ... but it is two unrelated commits ... in one.

@bep
Copy link
Member

bep commented Feb 6, 2016

Merged in 45df459

@bep bep closed this Feb 6, 2016
@moorereason moorereason deleted the humanize branch March 16, 2016 19:59
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants