Versions in this module Expand all Collapse all v1 v1.0.1 Mar 19, 2024 v1.0.0 Mar 4, 2024 Changes in this version + func Float64s(a *[]float64) + func Float64sAreUnique(a []float64) bool + func GenericsAreUnique[T cmp.Ordered](a []T) bool + func Generics[T cmp.Ordered](a *[]T) + func Ints(a *[]int) + func IntsAreUnique(a []int) bool + func IsUniqued(data sort.Interface) bool + func Sort(data Interface) + func Strings(a *[]string) + func StringsAreUnique(a []string) bool + func ToFront(data sort.Interface) (n int) + func Unique(data Interface) + type Float64Slice struct + P *[]float64 + func (p Float64Slice) Len() int + func (p Float64Slice) Less(i, j int) bool + func (p Float64Slice) Swap(i, j int) + func (p Float64Slice) Truncate(n int) + type GenericSlice struct + P *[]T + func (p GenericSlice[T]) Len() int + func (p GenericSlice[T]) Less(i, j int) bool + func (p GenericSlice[T]) Swap(i, j int) + func (p GenericSlice[T]) Truncate(n int) + type IntSlice struct + P *[]int + func (p IntSlice) Len() int + func (p IntSlice) Less(i, j int) bool + func (p IntSlice) Swap(i, j int) + func (p IntSlice) Truncate(n int) + type Interface interface + Truncate func(n int) + type StringSlice struct + P *[]string + func (p StringSlice) Len() int + func (p StringSlice) Less(i, j int) bool + func (p StringSlice) Swap(i, j int) + func (p StringSlice) Truncate(n int)