A package to pluralize words.
Originally forked from fork of https://bitbucket.org/pkg/inflect under a MIT License.
A golang library applying grammar rules to English words.
This package provides a basic set of functions applying grammar rules to inflect English words, modify case style (Capitalize, camelCase, snake_case, etc.).
Acronyms are properly handled. A common use case is word pluralization.
This library is not used at all by other go-openapi packages and is somewhat redundant with go-openapi/swag/mangling (for camelcase etc).
Currently we have one single dependency in one place in a go-swagger template (used as a funcmap).
- Aug. 2025: CI workflows have now moved to a shared repository go-openapi/ci-workflows