Documentation ¶
Index ¶
- func ContainsString(slice []string, elem string) bool
- func FromMapValues(input map[string]string) []string
- func FromStrCommaSeparatedList(commaSepList *string, appendix *string) []string
- func MergeOnUnique(a []string, b []string) []string
- func StrIntersect(a []string, b []string) []string
- func StringToInterface(x []string) []interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainsString ¶
ContainsString returns true if the received element is found in the received slice
func FromMapValues ¶
FromMapValues returns as a slice of strings all values found in the received maps
func FromStrCommaSeparatedList ¶
FromStrCommaSeparatedList returns a list of string using the received string pointer and splitting it on non-nil using comma as separator appendix is a string that will be added to the final list if set
func StrIntersect ¶
StrIntersect return the intersection of the two received slice of strings, based on the input a.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.