Skip to content

go-openapi/inflect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

inflect Build Status codecov

Slack Status license Go Reference Go Report Card

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).

Note to maintainers

  • Aug. 2025: CI workflows have now moved to a shared repository go-openapi/ci-workflows

Packages

No packages published

Contributors 6

Languages