Versions in this module Expand all Collapse all v0 v0.3.1 Jun 10, 2025 Changes in this version + func Filter[CollectionItem any](items []CollectionItem, filterFunc func(item CollectionItem, index int) bool) []CollectionItem + func FindIndex[CollectionItem any](items []CollectionItem, findFunc func(item CollectionItem, index int) bool) int + func Find[CollectionItem any](items []CollectionItem, findFunc func(item CollectionItem, index int) bool) CollectionItem + func MapToSlice[Value any](inputMap map[string]Value) []Value + func Map[Input any, Output any](inputs []Input, mapFunc func(input Input, index int) Output) []Output + func RemoveDuplicates[Value comparable](input []Value) []Value + func Reverse[Value any](items []Value) []Value + func ShallowCopyMap[Key comparable, Value any](inputMap map[Key]Value) map[Key]Value + func SliceContainsComparable[Value comparable](input []Value, searchFor Value) bool + func SliceContains[Value Comparable[Value]](input []Value, searchFor Value) bool + func SliceToMapKeys[Value any](inputKeys []string) map[string][]Value + func SlicesEqual[Value comparable](a []Value, b []Value) bool + type Clock interface + Now func() time.Time + type Comparable interface + Equal func(value Value) bool + type SystemClock struct + func (d SystemClock) Now() time.Time