Documentation ¶
Overview ¶
Package plurals is the pluralform compiler to get the correct translation id of the plural string
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Expression ¶
Expression is a plurals expression. Eval evaluates the expression for a given n value. Use plurals.Compile to generate Expression instances.
func Compile ¶
func Compile(s string) (expr Expression, err error)
Compile a string containing a plural form expression to a Expression object.
Click to show internal directories.
Click to hide internal directories.