Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AlignRight ¶
AlignRight aligns the given string to the right, at the given width (minimum = 4), padding with dots.
func EnsurePrefix ¶
EnsurePrefix ensures that the string has the given (non-repeated) prefix.
func EnsureSuffix ¶
EnsureSuffix ensures that the string has the given (non-repeated) suffix.
func TruncateLeft ¶
TruncateLeft truncates the given string on the left if longer than maxWidth (minimum = 4).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.