Versions in this module Expand all Collapse all v1 v1.0.0 Nov 12, 2023 Changes in this version + var UnsafeUUIDGenerator = uuid.NewGenWithOptions(uuid.WithRandomReader(fastRandReader{})) + func Filter[T comparable](tSlice []T, filter func(t T) bool) []T + func GlobalID(material string) (id [8]byte) + func ImmutableBytesFromString(s string) []byte + func MapHash(material string) uint64 + func MustOK[T any](result T, ok bool) T + func NewUUIDV1() uuid.UUID + func NewUUIDV3(ns uuid.UUID, name string) uuid.UUID + func NewUUIDV4() uuid.UUID + func NewUUIDV5(ns uuid.UUID, name string) uuid.UUID + func NewUUIDV6() uuid.UUID + func NewUUIDV7() uuid.UUID + func Reverse(s string) string + func StringFromImmutableBytes(bs []byte) string + func ToStringSlice(value any) ([]string, error) + func UUIDMap(str string) (uuid.UUID, error) + type IntRanges []Range[T] + func NewIntRangesFromList[T constraints.Integer](list []string) (IntRanges[T], error) + func NewIntRanges[T constraints.Integer](expected string) (IntRanges[T], error) + func (ranges IntRanges[T]) Check(status T) bool + type Range struct + func NewRange[T constraints.Ordered](start, end T) Range[T] + func (r Range[T]) Contains(t T) bool + func (r Range[T]) End() T + func (r Range[T]) LeftContains(t T) bool + func (r Range[T]) RightContains(t T) bool + func (r Range[T]) Start() T