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 ¶
func ArrayContains[T comparable](source []T, toCheck []T) bool
func GetAsEqualsMap ¶
GetAsEqualsMap split key=value formatted strings into a key : value map
func GetAsStringList ¶
GetAsEqualsMap format a key : value map into key=value strings
func MapKeys ¶
func MapKeys[T comparable, U any](theMap map[T]U) []T
func MapsAppend ¶
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.