Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Has ¶
Has returns the either the singular or plural version of the verb "to have" based on the `size` input.
func Pluralize ¶
- If the provided argument contains a comma, use the text before the comma for the singular case and the text after the comma for the plural case: - If value is 0, cand{{ value|pluralize:"y,ies" }} display "candies". - If value is 1, cand{{ value|pluralize:"y,ies" }} display "candy". - If value is 2, cand{{ value|pluralize:"y,ies" }} display "candies".
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.