Documentation
¶
Overview ¶
Package stringutils exposes helpers to search and process strings.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainsStrings ¶
ContainsStrings searches a slice of strings for a case-sensitive match
Now equivalent to the standard library [slice.Contains].
func ContainsStringsCI ¶
ContainsStringsCI searches a slice of strings for a case-insensitive match
func JoinByFormat ¶
JoinByFormat joins a string array by a known format (e.g. swagger's collectionFormat attribute):
ssv: space separated value tsv: tab separated value pipes: pipe (|) separated value csv: comma separated value (default)
func SplitByFormat ¶
SplitByFormat splits a string by a known format:
ssv: space separated value tsv: tab separated value pipes: pipe (|) separated value csv: comma separated value (default)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.