Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DisplayWidth ¶
DisplayWidth calculates what the rendered width of string s will be.
func Indent ¶
Indent returns a copy of the string s with indent prefixed to it, will apply indent to each line of the string.
func Pluralize ¶
Pluralize returns a concatenated string with num and the plural form of thing if necessary.
func RelativeTimeAgo ¶
RelativeTimeAgo returns a human readable string of the time duration between a and b that is estimated to the nearest unit of time.
func RemoveDiacritics ¶
RemoveDiacritics returns the input value without "diacritics", or accent marks
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.