package
0.0.0-20231215233255-5eee6075d0e8
Repository: https://github.com/crawl/go-sequell.git
Documentation: pkg.go.dev

# Functions

ExpandBraceGroups expands {foo,bar} groups in text by returning every permutation of brace expansions, similar to shell brace expansion.
FirstNotEmpty returns the first string in choices that is not the empty string.
Hash returns an opaque hash of text, suitable for use in de-duplication.
NormalizeSpace normalizes whitespace in text, stripping leading and trailing whitespace and replacing all internal whitespace sequences with a single space " ".
ParseInt parses the integer from the text; in case of error, returns the default value.
RightPadSlice returns a slice that is at least nparts elements, padding out with new elements equal to `pad`.
Str converts any object into a string, either by a direct cast, a call to Stringer.String, falling back to fmt.Sprintf("%s", object).