Documentation
¶
Index ¶
- Constants
- func GetLanguage() pluralizer.Language
- func Plural(word string) string
- func RegisterIrregular(lang string, substitutions ...pluralizer.Substitution) error
- func RegisterLanguage(language pluralizer.Language) error
- func RegisterPluralUninflected(lang string, words ...string) error
- func RegisterSingularUninflected(lang string, words ...string) error
- func RegisterUninflected(lang string, words ...string) error
- func Singular(word string) string
- func UseLanguage(lang string) error
Constants ¶
View Source
const (
LanguageEnglish = "english"
)
Variables ¶
This section is empty.
Functions ¶
func GetLanguage ¶
func GetLanguage() pluralizer.Language
func RegisterIrregular ¶
func RegisterIrregular(lang string, substitutions ...pluralizer.Substitution) error
func RegisterLanguage ¶
func RegisterLanguage(language pluralizer.Language) error
func RegisterUninflected ¶
func UseLanguage ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.