package
0.2.1
Repository: https://github.com/eopenio/util.git
Documentation: pkg.go.dev

# Functions

AddIrregular adds an irregular inflection.
AddPlural adds a plural inflection.
AddSingular adds a singular inflection.
AddUncountable adds an uncountable inflection.
GetIrregular retrieves the irregular inflection values.
GetPlural retrieves the plural inflection values.
GetSingular retrieves the singular inflection values.
GetUncountable retrieves the uncountable inflection values.
Plural converts a word to its plural form.
SetIrregular sets the irregular inflections slice.
SetPlural sets the plural inflections slice.
SetSingular sets the singular inflections slice.
SetUncountable sets the uncountable inflections slice.
Singular converts a word to its singular form.

# Structs

Irregular is a hard replace inflection, containing both singular and plural forms.
Regular is a regexp find replace inflection.

# Type aliases

IrregularSlice is a slice of Irregular inflections.
RegularSlice is a slice of Regular inflections.