Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FixedLength ¶ added in v1.7.3
FixedLength expands or trims the given text to the provided length
func Plural ¶ added in v1.7.6
Plural returns a string with the number and noun in either singular or plural form. If one text argument is given, the plural will be done with the plural s. If two arguments are provided, the second text is the irregular plural. If more than two are provided, then the additional ones are simply ignored.
func RandomString ¶
RandomString creates a string with random content and a given length
func RandomStringWithPrefix ¶
RandomStringWithPrefix creates a string with the provided prefix and additional random content so that the whole string has the given length.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.