Documentation ¶
Index ¶
- func Filter(a []string) []string
- func GetKeys[T comparable, V any](m map[T]V) []T
- func GetSortedKeys[T Inty, V any](m map[T]V) []T
- func GetValues[T comparable, V any](m map[T]V) []V
- func In[T comparable](needle T, haystack []T) bool
- func Max[T Inty](a, b T) T
- func Min[T Inty](a, b T) T
- func SplitAndFilter(s string, sep string) []string
- type Inty
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetKeys ¶
func GetKeys[T comparable, V any](m map[T]V) []T
func GetSortedKeys ¶
func GetValues ¶
func GetValues[T comparable, V any](m map[T]V) []V
func In ¶
func In[T comparable](needle T, haystack []T) bool
func SplitAndFilter ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.