Documentation ¶
Index ¶
- func Contains(a []string, val string) bool
- func ContainsAll(a []string, values ...string) bool
- func ContainsAny(a []string, values ...string) bool
- func Difference(a, b []string) []string
- func EqualSlices(a []string, b []string) bool
- func FirstIndexOf(a []string, val string) (int, bool)
- func OrEmpty(val *string) string
- func PermutationWith(base, v []string, f func([]string))
- func Permutations(v []string, f func([]string))
- func Remove(a []string, val string) []string
- func SetToSlice(values map[string]struct{}) []string
- func SliceToSet(values []string) map[string]struct{}
- func ToStringSlice(a [][]byte) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainsAll ¶
func ContainsAny ¶
func Difference ¶
func EqualSlices ¶
func PermutationWith ¶
func Permutations ¶
func SetToSlice ¶
func SliceToSet ¶
func ToStringSlice ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.