Versions in this module Expand all Collapse all v2 v2.0.2 Sep 14, 2023 v2.0.1 Sep 14, 2023 v2.0.0 Sep 13, 2023 Changes in this version + type Form string + const Few + const Invalid + const Many + const One + const Other + const Two + const Zero + type Operands struct + F int64 + I int64 + N float64 + T int64 + V int64 + W int64 + func NewOperands(number interface{}) (*Operands, error) + func (o *Operands) NEqualsAny(any ...int64) bool + func (o *Operands) NInRange(from, to int64) bool + func (o *Operands) NModEqualsAny(mod int64, any ...int64) bool + func (o *Operands) NModInRange(mod, from, to int64) bool + type Rule struct + PluralFormFunc func(*Operands) Form + PluralForms map[Form]struct{} + type Rules map[language.Tag]*Rule + func DefaultRules() Rules + func (r Rules) Rule(tag language.Tag) *Rule