Documentation ¶
Index ¶
- func StringsAnyEquals(stringSlice []string, str string) bool
- func StringsAnyPrefix(stringSlice []string, prefix string) bool
- func StringsAnySuffix(stringSlice []string, suffix string) bool
- func StringsContaining(stringSlice []string, str string) []string
- func StringsIntersection(str1, str2 []string) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StringsAnyEquals ¶
StringsAnyEquals returns true if any of the strings in the slice equal the given string.
func StringsAnyPrefix ¶
StringsAnyPrefix returns true if any of the strings in the slice have the given prefix.
func StringsAnySuffix ¶ added in v0.1.2
StringsAnySuffix returns true if any of the strings in the slice have the given suffix.
func StringsContaining ¶
StringsContaining returns a slice of the strings containing the specified string.
func StringsIntersection ¶
StringsIntersection returns the common elements in two string slices.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.