Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LengthForRune ¶
LengthForRune gets char length for a rune. All control chars are treated as zero-length.
func LengthForString ¶
LengthForString gets length for a string.
func MaxWidthForLines ¶
MaxWidthForLines gets max line width for a multi-lines string.
Types ¶
Click to show internal directories.
Click to hide internal directories.