Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SplitLength ¶
SplitLength returns a slice of strings, each string is at most length bytes long. Does not break UTF-8 codepoints.
func TruncateString ¶
TruncateString truncates s to a maximum of length bytes without breaking UTF-8 codepoints.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.