Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 669 Bytes

README.md

File metadata and controls

25 lines (17 loc) · 669 Bytes

The Inflector transforms words in various ways

GoDoc Build Status

A Go port of the Rails Inflector.

Examples

package main

import (
	"github.com/tzvetkoff-go/inflector"
)

func main() {
	println(inflector.Pluralize("person"))      // "people"
	println(inflector.Singularize("men"))       // "man"
}

License

The code is subject to the MIT license.