Registry / utility / rickb777-plural

rickb777-plural

JSON →
library1.4.10gogounverified

Package plural provides simple support for localising plurals in a flexible range of different styles.

go get github.com/rickb777/plural
INSTALL
IMPORT
SIG · RICKB777-PLURAL
R
rickb777-plural
utilitygov1.4.10
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

plural
✓ github.com/rickb777/plural

Formats a plural string for a given number.

package main import ( "github.com/rickb777/plural" ) func main() { form := plural.FromZero("car", "cars") println(form.Format(2)) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.4.10latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
rickb777-plural — go get rickb777-plural · libregistry