Documentation
¶
Index ¶
- func Cutoff(maxLen int, val string) string
- func Diff(itemsA []string, itemsB []string) []string
- func Distinct(input []string) []string
- func Exclude(items []string, excepts ...string) []string
- func Filter(items []string, filter func(item string) bool) []string
- func FilterEmpty(items []string) []string
- func HasPrefixes(val string, prefixes []string) bool
- func HasSuffixes(val string, suffixes []string) bool
- func In(val string, items []string) bool
- func InIgnoreCase(val string, items []string) bool
- func Map(items []string, mapper func(item string) string) []string
- func Union(itemsA []string, itemsB []string) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.