package
0.0.0-20240904210011-3474b320e3bf
Repository: https://github.com/cockroachdb/crlib.git
Documentation: pkg.go.dev
# Functions
FilterEmpty removes empty strings from the given slice.
If returns the given value if the flag is true, otherwise an empty string.
IfElse returns the value that matches the value of the flag.
JoinStringers concatenates the string representations of the given fmt.Stringer implementations.
Lines breaks up the given string into lines.
MapAndJoin converts each argument to a string using the given function and joins the strings with the given delimiter.
WithSep prints the strings a and b with the given separator in-between, unless one of the strings is empty (in which case the other string is returned).