Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromPointer ¶
FromPointer returns the string value of a pointer to a string. If the pointer is nil, it returns an empty string.
func Pluralize ¶ added in v0.1.2
Pluralize returns the singular form if count is 1, otherwise the plural form.
func TruncateString ¶ added in v0.1.2
TruncateString truncates a string to a maximum length.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.