# Functions
Copy returns a copy of the source slice.
NewSet returns an initialized Set.
No description provided by the author
No description provided by the author
Split is a safer common-case alternative that omits empty and whitespace-only elements.
StringMapPtr returns string pointer which can be used to update a map[string]string value, working around the lack of support for syntax like Fn(&myMap[key]) which leads to the error "cannot take the address of myMap[key]".
Truncate returns the string with a maximum length enforced and optional appended hint (e.g.
Truncate returns the string with a maximum length enforced and optional prepended hint (e.g.
# Type aliases
ReplaceSet holds replacement definitons indexed by Replace.Old values.