Documentation ¶
Index ¶
- func All(vs []string, f func(string) bool) bool
- func Any(vs []string, f func(string) bool) bool
- func Difference(target []string, base []string) []string
- func Filter(vs []string, f func(string) bool) []string
- func Include(vs []string, t string) bool
- func Index(vs []string, t string) int
- func Map(vs []string, f func(string) string) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Difference ¶
Difference return a new slice that in target slice and not in base slice.
func Filter ¶
* Filter returns a new slice containing all strings in the slice that satisfy the predicate f.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.