Skip to content
forked from gedex/inflector

Go library that pluralizes and singularizes English nouns.

License

Notifications You must be signed in to change notification settings

Bowbaq/inflector

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Inflector

Inflector pluralizes and singularizes English nouns.

Documentation: http:https://godoc.org/github.com/gedex/inflector

Build Status Build Status Coverage Status

Basic Usage

There are only two exported functions: Pluralize and Singularize.

s := "People"
fmt.Println(inflector.Singularize(s)) // will print "Person"

s2 := "octopus"
fmt.Println(inflector.Pluralize(s2)) // will print "octopuses"

Please see example/example.go for a complete example.

Credits

License

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

About

Go library that pluralizes and singularizes English nouns.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Go 100.0%