Versions in this module Expand all Collapse all v0 v0.2.3 Feb 27, 2015 v0.2.2 Feb 27, 2015 Changes in this version + type IrregularType struct + Plural string + Singular string + func Irregular(singular, plural string) (irregular *IrregularType) + type IrregularsType []*IrregularType + func (self IrregularsType) IsIrregular(str string) (*IrregularType, bool) + type LanguageType struct + Irregulars IrregularsType + Pluralizations RulesType + Short string + Singularizations RulesType + Uncountables UncountablesType + func Language(short string) (language *LanguageType) + func (self *LanguageType) Irregular(singular, plural string) *LanguageType + func (self *LanguageType) Plural(matcher, replacer string) *LanguageType + func (self *LanguageType) Pluralize(str string) string + func (self *LanguageType) Singular(matcher, replacer string) *LanguageType + func (self *LanguageType) Singularize(str string) string + func (self *LanguageType) Uncountable(uncountable string) *LanguageType + type RuleType struct + Regexp *regexp.Regexp + Replacer string + func Rule(matcher, replacer string) (rule *RuleType) + type RulesType []*RuleType + type UncountablesType []string + func (self UncountablesType) Contains(str string) bool