Documentation ¶
Index ¶
- func Empty(s string) bool
- func LeftPad(text string, leftPad int) string
- func LeftPadMaxLine(value string, maxValueLength, leftPad int) string
- func Safe(s string) bool
- func ValidUrl(s string) bool
- func Wrap(text string, lineWidth int) (string, int)
- func WrapLeftPadded(text string, lineWidth int, leftPad int) (string, int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Empty ¶
Empty tell if the string is considered empty once space and not graphics characters are removed
func LeftPadMaxLine ¶
LeftPadMaxLine pads a string on the left by a specified amount and pads the string on the right to fill the maxLength
func Safe ¶
Safe will tell if a character in the string is considered unsafe Currently trigger on unicode control character except \n, \t and \r
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.