Documentation ¶
Index ¶
- func ArrayContains[T comparable](source []T, toCheck []T) bool
- func GetAsEqualsMap(em []string) map[string]string
- func GetAsStringList(em map[string]string) []string
- func MapKeys[T comparable, U any](theMap map[T]U) []T
- func MapsAppend[T comparable, U any](target map[T]U, source map[T]U) map[T]U
- func StringContains(array []string, needle string) bool
- func StringToBool(s string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ArrayContains ¶ added in v1.17.0
func ArrayContains[T comparable](source []T, toCheck []T) bool
func GetAsEqualsMap ¶ added in v1.2.7
GetAsEqualsMap split key=value formatted strings into a key : value map
func GetAsStringList ¶ added in v1.2.7
GetAsEqualsMap format a key : value map into key=value strings
func MapKeys ¶ added in v1.17.0
func MapKeys[T comparable, U any](theMap map[T]U) []T
func MapsAppend ¶ added in v1.17.0
func MapsAppend[T comparable, U any](target map[T]U, source map[T]U) map[T]U
func StringContains ¶
StringContains check if an array contains a specific value
func StringToBool ¶
StringToBool converts a string to a boolean ignoring errors
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.