Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 897 Bytes

README.md

File metadata and controls

25 lines (16 loc) · 897 Bytes

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.