Versions in this module Expand all Collapse all v1 v1.11.13-rc.2 Dec 4, 2024 v1.0.0 Dec 4, 2024 Changes in this version + func Err(errors ...error) error + func GetStacktrace(all bool) string + func IsSortedAndUniqueByHash[T ~[]byte](s []T) bool + func IsSortedAndUniqueOrdered[T cmp.Ordered](s []T) bool + func IsSortedAndUnique[T Sortable[T]](s []T) bool + func IsSortedBytes[T ~[]byte](s []T) bool + func RandomBytes(n int) []byte + func SortByHash[T ~[]byte](s []T) + func Sort[T Sortable[T]](s []T) + func ZeroSlice[T any](s []T) + func Zero[T any]() T + type Atomic struct + func (a *Atomic[T]) Get() T + func (a *Atomic[T]) Set(value T) + type Sortable interface + Compare func(T) int