Documentation ¶
Index ¶
- func ContainsAny(strings []string, slice []string) bool
- func ContainsMap(maps []map[string]string, item map[string]string) bool
- func ContainsString(s string, slice []string) bool
- func Keys(m map[string]interface{}) []string
- func KeysAndValues(m map[string]string) ([]string, []string)
- func MapStringSlice(stringSlice []string, f func(string) string) []string
- func StringSliceToHashSet(stringSlice []string) map[string]bool
- func Unique(stringSlice []string) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainsAny ¶
Returns true if slice strings contains any of the strings.
func ContainsString ¶
func MapStringSlice ¶ added in v0.21.16
returns a new array where f is applied on all values in stringSlice usage: fmt.Println(MapStringSlice([]string{"abc","def"}, strings.ToUpper) result: []string{"ABC", "DEF}
func StringSliceToHashSet ¶ added in v0.21.16
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.