# Functions
AsString returns the given value as string.
Contains checks whether the given string is present in the provided slice.
ContainsSubstring checks whether the given string is contained in any of the strings of the provided slice.
First returns the first non-empty string.
IndentLines indents all lines in the given string with specified number of spaces.
LessLex reports whether i must sort before j, using lexicographic order (aka alphabetical, dictionary, or natural sort order).
MatchRunes returns true if all runes of string s match all provided functions, false otherwise.
PostfixLines postfixes each line in the given string with the given prefix.
PrefixLines prefixes each line in the given string with the given prefix.
RandomString returns a random alphanumerical string of specified length.
No description provided by the author
StringSlice returns a slice of strings if the given value is a slice containing only strings.
StripFunc removes all runes from the given string that match the given filter function.
ToIndexMap converts the given string slice to a map with the strings values mapping to their index (position) in the slice.
ToPrintString escapes non-ASCII characters and ASCII characters that are not printable and not whitespace.
Converts the given slice to a string slice, using the default format of the fmt package.
ToString converts the given value to a string, using the default conversion defined in fmt.Sprint(val).
WrapLines pre- and postfixes each line in s with w.
# Type aliases
Stringer decorates any parameter-less function that returns a string as a fmt.Stringer interface.