plural

package
v0.33.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 19, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package plural supplies lxkns with (only) English-language plurals for common objects appearing in the lxkns information model. This is not a general I18N package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Elements

func Elements(count int, elements string, a ...interface{}) string

Elements returns the specified count of elements together with the correct singular or plural form for elements, depending on the count. The elements parameter must specify the plural. One or more optional arguments can be specified for elements that possess varying elements, such as “hidden [TYP] namespaces”.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL