opentofu/vendor/github.com/gedex/inflector
Kazumichi Yamamoto cd7f69ab11 New provider arukas (#11171)
* Add a Arukas provider

* Add dependencies for the Arukas provider

* Add documents for the Arukas
2017-02-13 19:11:30 +00:00
..
CakePHP_LICENSE.txt New provider arukas (#11171) 2017-02-13 19:11:30 +00:00
inflector.go New provider arukas (#11171) 2017-02-13 19:11:30 +00:00
LICENSE.md New provider arukas (#11171) 2017-02-13 19:11:30 +00:00
README.md New provider arukas (#11171) 2017-02-13 19:11:30 +00:00

Inflector

Inflector pluralizes and singularizes English nouns.

Build Status Coverage Status GoDoc

Basic Usage

There are only two exported functions: Pluralize and Singularize.

fmt.Println(inflector.Singularize("People")) // will print "Person"
fmt.Println(inflector.Pluralize("octopus")) // will print "octopuses"

Credits

License

This library is distributed under the BSD-style license found in the LICENSE.md file.