Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Ellipsis ¶ added in v0.13.0
Ellipsis returns a truncated string and appends "..." to the end of the string if the string length is larger than the threshold. Otherwise, the original string is returned.
func RandomChars ¶
RandomChars returns a generated string in given number of random characters.
func ToUpperFirst ¶
ToUpperFirst returns s with only the first Unicode letter mapped to its upper case.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.