Documentation ¶
Index ¶
- func CreateMap(args ...string) map[string]string
- func Equal[T comparable](value T) func(t T) bool
- func Filter[T any](items []T, checkFn func(t T) bool) []T
- func First[T any](items []T, checkFn func(t T) bool) *T
- func Map[T1 any, T2 any](v1 []T1, transformer func(T1) T2) []T2
- func MapObject(src, dst any)
- func MergeAll[T comparable](arrays ...[]T) []T
- func MergeMaps[K comparable, V any](maps ...map[K]V) map[K]V
- func NotEqual[T comparable](value T) func(t T) bool
- func NotIn[T comparable](items ...T) func(t T) bool
- func SliceFromMap[K comparable, V any](m map[K]V) []V
- type Array
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Equal ¶
func Equal[T comparable](value T) func(t T) bool
func MergeAll ¶
func MergeAll[T comparable](arrays ...[]T) []T
func MergeMaps ¶
func MergeMaps[K comparable, V any](maps ...map[K]V) map[K]V
func NotEqual ¶
func NotEqual[T comparable](value T) func(t T) bool
func NotIn ¶
func NotIn[T comparable](items ...T) func(t T) bool
func SliceFromMap ¶
func SliceFromMap[K comparable, V any](m map[K]V) []V
Types ¶
Click to show internal directories.
Click to hide internal directories.