Documentation ¶
Index ¶
- func ArrayDiffInt(array1 []int, arrayOthers ...[]int) []int
- func ArrayUnshift(s []string, elements ...string) []string
- func Implode(glue string, values []string) string
- func InsertNth(s string, n int, insert rune) string
- func InsertTagsIgnoringNewLines(oldMessage string, newMessage string, tags []formatter.TagPos) string
- func IsStringSliceEqual(a, b []string) bool
- func Map(strings []string, function func(string) string) []string
- func MaxInt(list []int) int
- func RangeInt(start int, end int) []int
- func RemoveDecoration(outputFormatter formatter.OutputFormatterInterface, message string) string
- func StrSplit(data string, length int) []string
- func Strlen(s string) int
- func StrlenWithoutDecoration(outputFormatter formatter.OutputFormatterInterface, message string) int
- func Wordwrap(message string, width int, breaker rune) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ArrayDiffInt ¶
func ArrayUnshift ¶
unshift a string from array
func IsStringSliceEqual ¶
compare byte by byte a string to another
func RemoveDecoration ¶
func RemoveDecoration(outputFormatter formatter.OutputFormatterInterface, message string) string
remove all string decoration (tags)
func StrlenWithoutDecoration ¶
func StrlenWithoutDecoration(outputFormatter formatter.OutputFormatterInterface, message string) int
length of an undecorated string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.