Versions in this module Expand all Collapse all v2 v2.4.0 Jan 31, 2024 v2.3.0 Dec 3, 2023 Changes in this version type Operands + C int64 v2.2.2 Oct 23, 2023 v2.2.1 Nov 10, 2022 v2.2.0 Feb 20, 2022 v2.1.2 Jan 18, 2021 v2.1.1 Sep 29, 2020 v2.1.0 Sep 29, 2020 v2.0.4 Sep 29, 2020 v2.0.3 Nov 18, 2019 v2.0.2 Jun 11, 2019 v2.0.1 Jun 5, 2019 v2.0.0 May 19, 2019 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 v2.0.0-beta.7 May 10, 2019 v2.0.0-beta.6 Nov 24, 2018 v2.0.0-beta.5 Aug 3, 2018