gnormal / gnorm

A database-first code generator for any language
https://gnorm.org
Other
487 stars 40 forks source link

Add inflection for pluralization #125

Closed Etomyutikos closed 4 years ago

Etomyutikos commented 4 years ago

This PR introduces the inflection package to handle pluralization and singularization within a template. The functions plural and singular are added to the template functions.

Etomyutikos commented 4 years ago

@natefinch I have other folks at my organization looking to use this new functionality. Anything else you'd like to see in here before merging?

natefinch commented 4 years ago

Sorry, yes, looks good!