Versions in this module Expand all Collapse all v1 v1.1.1 Nov 23, 2026 Changes in this version + const ASCIILetters + const ASCIILowercase + const ASCIIUppercase + const Digits + const DirDefault + const FileCreate + const FileDefault + const FullAccess + const HexDigits + const OctDigits + const PathSeparator + const Punctuation + var ErrInvalidBinaryDigit = errors.New("binary string must contain only '0' and '1'") + var ErrInvalidBinaryLength = errors.New("binary string length must be multiple of 8") + var ErrParseBigInt = errors.New("invalid big integer") + var ErrParseBool = errors.New("invalid bool") + var ErrParseComplex = errors.New("invalid complex number") + var ErrParseFloat = errors.New("invalid float") + var ErrParseInt = errors.New("invalid integer") + var ErrParseUint = errors.New("invalid unsigned integer") + func Errorf[T ~string](format T, args ...any) error + func FormatTo[T ~string](builder *Builder, template T, args ...any) + type Builder struct + func NewBuilder() *Builder + func (b *Builder) Cap() Int + func (b *Builder) Grow(n Int) + func (b *Builder) Len() Int + func (b *Builder) Reset() + func (b *Builder) String() String + func (b *Builder) Write(bs []byte) (int, error) + func (b *Builder) WriteByte(c byte) error + func (b *Builder) WriteRune(r rune) (int, error) + func (b *Builder) WriteString(str String) (int, error) + type Bytes []byte + func NewBytes[T ~string | ~[]byte](b T) Bytes + func (bs *Bytes) Reset() + func (bs *Bytes) Scan(src any) error + func (bs Bytes) Append(obs Bytes) Bytes + func (bs Bytes) Center(length Int, pad Bytes) Bytes + func (bs Bytes) Chars() []Bytes + func (bs Bytes) Chunks(size Int) []Bytes + func (bs Bytes) Clone() Bytes + func (bs Bytes) Cmp(obs Bytes) cmp.Ordering + func (bs Bytes) Compress() bcompress + func (bs Bytes) Contains(obs Bytes) bool + func (bs Bytes) ContainsAll(obss ...Bytes) bool + func (bs Bytes) ContainsAny(obss ...Bytes) bool + func (bs Bytes) ContainsAnyChars(chars String) bool + func (bs Bytes) ContainsRune(r rune) bool + func (bs Bytes) Count(obs Bytes) Int + func (bs Bytes) Cut(start, end Bytes, rmtags ...bool) (Bytes, Bytes) + func (bs Bytes) Decode() bdecode + func (bs Bytes) Decompress() bdecompress + func (bs Bytes) Encode() bencode + func (bs Bytes) EndsWith(suffix Bytes) bool + func (bs Bytes) EndsWithAny(suffixes ...Bytes) bool + func (bs Bytes) Eq(obs Bytes) bool + func (bs Bytes) EqFold(obs Bytes) bool + func (bs Bytes) Fields() []Bytes + func (bs Bytes) FieldsBy(fn func(r rune) bool) []Bytes + func (bs Bytes) FloatBE() Float + func (bs Bytes) FloatLE() Float + func (bs Bytes) Gt(obs Bytes) bool + func (bs Bytes) Gte(obs Bytes) bool + func (bs Bytes) Hash() bhash + func (bs Bytes) Index(obs Bytes) Int + func (bs Bytes) IndexByte(b byte) Int + func (bs Bytes) IndexRune(r rune) Int + func (bs Bytes) IntBE() Int + func (bs Bytes) IntLE() Int + func (bs Bytes) IsASCII() bool + func (bs Bytes) IsDigit() bool + func (bs Bytes) IsEmpty() bool + func (bs Bytes) IsLower() bool + func (bs Bytes) IsTitle() bool + func (bs Bytes) IsUpper() bool + func (bs Bytes) LastIndex(obs Bytes) Int + func (bs Bytes) LastIndexByte(b byte) Int + func (bs Bytes) LeftJustify(length Int, pad Bytes) Bytes + func (bs Bytes) Len() Int + func (bs Bytes) LenRunes() Int + func (bs Bytes) Lines() []Bytes + func (bs Bytes) Lower() Bytes + func (bs Bytes) Lt(obs Bytes) bool + func (bs Bytes) Lte(obs Bytes) bool + func (bs Bytes) Map(fn func(rune) rune) Bytes + func (bs Bytes) Max(b ...Bytes) Bytes + func (bs Bytes) Min(b ...Bytes) Bytes + func (bs Bytes) Ne(obs Bytes) bool + func (bs Bytes) NormalizeNFC() Bytes + func (bs Bytes) Prepend(obs Bytes) Bytes + func (bs Bytes) Print() Bytes + func (bs Bytes) Println() Bytes + func (bs Bytes) Reader() *bytes.Reader + func (bs Bytes) Remove(patterns ...Bytes) Bytes + func (bs Bytes) Repeat(count Int) Bytes + func (bs Bytes) Replace(oldB, newB Bytes, n Int) Bytes + func (bs Bytes) ReplaceAll(oldB, newB Bytes) Bytes + func (bs Bytes) ReplaceMulti(oldnew ...Bytes) Bytes + func (bs Bytes) ReplaceNth(oldB, newB Bytes, n Int) Bytes + func (bs Bytes) Reverse() Bytes + func (bs Bytes) RightJustify(length Int, pad Bytes) Bytes + func (bs Bytes) Runes() []rune + func (bs Bytes) Similarity(obs Bytes) Float + func (bs Bytes) Split(sep Bytes) []Bytes + func (bs Bytes) SplitAfter(sep Bytes) []Bytes + func (bs Bytes) SplitN(sep Bytes, n Int) []Bytes + func (bs Bytes) StartsWith(prefix Bytes) bool + func (bs Bytes) StartsWithAny(prefixes ...Bytes) bool + func (bs Bytes) Std() []byte + func (bs Bytes) String() String + func (bs Bytes) StringUnsafe() String + func (bs Bytes) StripPrefix(cutset Bytes) Bytes + func (bs Bytes) StripSuffix(cutset Bytes) Bytes + func (bs Bytes) SubBytes(start, end Int, step ...Int) Bytes + func (bs Bytes) Title() Bytes + func (bs Bytes) Transform[U any](fn func(Bytes) U) U + func (bs Bytes) Trim() Bytes + func (bs Bytes) TrimEnd() Bytes + func (bs Bytes) TrimEndSet(cutset String) Bytes + func (bs Bytes) TrimSet(cutset String) Bytes + func (bs Bytes) TrimStart() Bytes + func (bs Bytes) TrimStartSet(cutset String) Bytes + func (bs Bytes) Truncate(max Int) Bytes + func (bs Bytes) TryBigInt() Result[*big.Int] + func (bs Bytes) TryBool() Result[bool] + func (bs Bytes) TryComplex() Result[complex128] + func (bs Bytes) TryFloat() Result[Float] + func (bs Bytes) TryInt() Result[Int] + func (bs Bytes) TryUint() Result[uint] + func (bs Bytes) Upper() Bytes + func (bs Bytes) Value() (driver.Value, error) + type Deque struct + func DequeOf[T any](elements ...T) *Deque[T] + func NewDeque[T any](capacity ...Int) *Deque[T] + func (dq *Deque[T]) Back() Option[T] + func (dq *Deque[T]) BinarySearch(value T, fn func(T, T) cmp.Ordering) (Int, bool) + func (dq *Deque[T]) Capacity() Int + func (dq *Deque[T]) Clear() + func (dq *Deque[T]) Clone() *Deque[T] + func (dq *Deque[T]) Contains(value T) bool + func (dq *Deque[T]) ContainsAll(values ...T) bool + func (dq *Deque[T]) ContainsAny(values ...T) bool + func (dq *Deque[T]) Eq(other *Deque[T]) bool + func (dq *Deque[T]) Extend(values ...T) + func (dq *Deque[T]) Front() Option[T] + func (dq *Deque[T]) Get(index Int) Option[T] + func (dq *Deque[T]) Index(value T) Int + func (dq *Deque[T]) Insert(index Int, value T) + func (dq *Deque[T]) IsEmpty() bool + func (dq *Deque[T]) Iter() Seq[T] + func (dq *Deque[T]) IterReverse() Seq[T] + func (dq *Deque[T]) Len() Int + func (dq *Deque[T]) MakeContiguous() Slice[T] + func (dq *Deque[T]) Ne(other *Deque[T]) bool + func (dq *Deque[T]) PopBack() Option[T] + func (dq *Deque[T]) PopFront() Option[T] + func (dq *Deque[T]) Print() *Deque[T] + func (dq *Deque[T]) Println() *Deque[T] + func (dq *Deque[T]) PushBack(value T) + func (dq *Deque[T]) PushFront(value T) + func (dq *Deque[T]) Remove(index Int) Option[T] + func (dq *Deque[T]) Reserve(additional Int) + func (dq *Deque[T]) Retain(predicate func(T) bool) + func (dq *Deque[T]) RotateLeft(mid Int) + func (dq *Deque[T]) RotateRight(k Int) + func (dq *Deque[T]) Set(index Int, value T) Option[T] + func (dq *Deque[T]) ShrinkToFit() + func (dq *Deque[T]) String() string + func (dq *Deque[T]) Swap(i, j Int) + func (dq *Deque[T]) Transform[U any](fn func(*Deque[T]) U) U + type Entry interface + AndModify func(fn func(*V)) Entry[K, V] + Key func() K + OrDefault func() V + OrInsert func(value V) V + OrInsertWith func(fn func() V) V + OrInsertWithKey func(fn func(K) V) V + type Float float64 + func NewFloat[T constraints.Float | constraints.Integer](float T) Float + func (f *Float) Scan(src any) error + func (f Float) Abs() Float + func (f Float) Acos() Float + func (f Float) Acosh() Float + func (f Float) Add(b Float) Float + func (f Float) Asin() Float + func (f Float) Asinh() Float + func (f Float) Atan() Float + func (f Float) Atan2(b Float) Float + func (f Float) Atanh() Float + func (f Float) BigFloat() *big.Float + func (f Float) Bits() uint64 + func (f Float) BytesBE() Bytes + func (f Float) BytesLE() Bytes + func (f Float) Cbrt() Float + func (f Float) Ceil() Float + func (f Float) CeilDecimal(precision Int) Float + func (f Float) Clamp(min, max Float) Float + func (f Float) Cmp(b Float) cmp.Ordering + func (f Float) Copysign(sign Float) Float + func (f Float) Cos() Float + func (f Float) Cosh() Float + func (f Float) Div(b Float) Float + func (f Float) Eq(b Float) bool + func (f Float) Exp() Float + func (f Float) Exp2() Float + func (f Float) ExpM1() Float + func (f Float) Float32() float32 + func (f Float) Floor() Float + func (f Float) FloorDecimal(precision Int) Float + func (f Float) Fract() Float + func (f Float) Gt(b Float) bool + func (f Float) Gte(b Float) bool + func (f Float) Hypot(b Float) Float + func (f Float) Int() Int + func (f Float) IsFinite() bool + func (f Float) IsInf() bool + func (f Float) IsNaN() bool + func (f Float) IsNormal() bool + func (f Float) IsSignNegative() bool + func (f Float) IsSignPositive() bool + func (f Float) IsZero() bool + func (f Float) Ln() Float + func (f Float) Ln1p() Float + func (f Float) Log10() Float + func (f Float) Log2() Float + func (f Float) Lt(b Float) bool + func (f Float) Lte(b Float) bool + func (f Float) Max(b ...Float) Float + func (f Float) Min(b ...Float) Float + func (f Float) Mod(b Float) Float + func (f Float) Mul(b Float) Float + func (f Float) MulAdd(b, c Float) Float + func (f Float) Ne(b Float) bool + func (f Float) Neg() Float + func (f Float) Pow(exp Float) Float + func (f Float) Print() Float + func (f Float) Println() Float + func (f Float) Recip() Float + func (f Float) Round() Int + func (f Float) RoundDecimal(precision Int) Float + func (f Float) Signum() Float + func (f Float) Sin() Float + func (f Float) Sinh() Float + func (f Float) Sqrt() Float + func (f Float) Std() float64 + func (f Float) String() String + func (f Float) Sub(b Float) Float + func (f Float) Tan() Float + func (f Float) Tanh() Float + func (f Float) ToDegrees() Float + func (f Float) ToRadians() Float + func (f Float) Transform[U any](fn func(Float) U) U + func (f Float) Trunc() Float + func (f Float) TruncDecimal(precision Int) Float + func (f Float) Value() (driver.Value, error) + type Formattable interface + FormatValue func(spec String) String + type Heap struct + func HeapOf[T any](compareFn func(T, T) cmp.Ordering, values ...T) *Heap[T] + func NewHeap[T any](compareFn func(T, T) cmp.Ordering) *Heap[T] + func (h *Heap[T]) Clear() + func (h *Heap[T]) Clone() *Heap[T] + func (h *Heap[T]) Contains(value T) bool + func (h *Heap[T]) Eq(other *Heap[T]) bool + func (h *Heap[T]) Fix(i Int) + func (h *Heap[T]) IntoIter() Seq[T] + func (h *Heap[T]) IsEmpty() bool + func (h *Heap[T]) Iter() Seq[T] + func (h *Heap[T]) Len() Int + func (h *Heap[T]) Ne(other *Heap[T]) bool + func (h *Heap[T]) Peek() Option[T] + func (h *Heap[T]) Pop() Option[T] + func (h *Heap[T]) Print() *Heap[T] + func (h *Heap[T]) Println() *Heap[T] + func (h *Heap[T]) Push(items ...T) + func (h *Heap[T]) Remove(i Int) Option[T] + func (h *Heap[T]) Slice() Slice[T] + func (h *Heap[T]) String() string + func (h *Heap[T]) Transform[U any](fn func(*Heap[T]) U) U + type Int int + func NewInt[T constraints.Integer | rune | byte](i T) Int + func (i *Int) Scan(src any) error + func (i Int) Abs() Int + func (i Int) Add(b Int) Int + func (i Int) BigInt() *big.Int + func (i Int) Binary() String + func (i Int) BytesBE() Bytes + func (i Int) BytesLE() Bytes + func (i Int) CheckedAbs() Option[Int] + func (i Int) CheckedAdd(b Int) Option[Int] + func (i Int) CheckedDiv(b Int) Option[Int] + func (i Int) CheckedMul(b Int) Option[Int] + func (i Int) CheckedNeg() Option[Int] + func (i Int) CheckedPow(exp Int) Option[Int] + func (i Int) CheckedRem(b Int) Option[Int] + func (i Int) CheckedSub(b Int) Option[Int] + func (i Int) Clamp(min, max Int) Int + func (i Int) Cmp(b Int) cmp.Ordering + func (i Int) Div(b Int) Int + func (i Int) Eq(b Int) bool + func (i Int) Float() Float + func (i Int) Gt(b Int) bool + func (i Int) Gte(b Int) bool + func (i Int) Hex() String + func (i Int) Int16() int16 + func (i Int) Int32() int32 + func (i Int) Int64() int64 + func (i Int) Int8() int8 + func (i Int) IsNegative() bool + func (i Int) IsPositive() bool + func (i Int) IsZero() bool + func (i Int) Lt(b Int) bool + func (i Int) Lte(b Int) bool + func (i Int) Max(b ...Int) Int + func (i Int) Min(b ...Int) Int + func (i Int) Mul(b Int) Int + func (i Int) Ne(b Int) bool + func (i Int) Neg() Int + func (i Int) Octal() String + func (i Int) OverflowingAdd(b Int) (Int, bool) + func (i Int) OverflowingMul(b Int) (Int, bool) + func (i Int) OverflowingSub(b Int) (Int, bool) + func (i Int) Print() Int + func (i Int) Println() Int + func (i Int) Rem(b Int) Int + func (i Int) SaturatingAdd(b Int) Int + func (i Int) SaturatingMul(b Int) Int + func (i Int) SaturatingSub(b Int) Int + func (i Int) Signum() Int + func (i Int) Std() int + func (i Int) String() String + func (i Int) Sub(b Int) Int + func (i Int) Transform[U any](fn func(Int) U) U + func (i Int) Uint() uint + func (i Int) Uint16() uint16 + func (i Int) Uint32() uint32 + func (i Int) Uint64() uint64 + func (i Int) Uint8() uint8 + func (i Int) Value() (driver.Value, error) + type Map map[K]V + func MapFromMapOrd[K comparable, V any](mo MapOrd[K, V]) Map[K, V] + func MapFromMapSafe[K comparable, V any](ms *MapSafe[K, V]) Map[K, V] + func MapOf[K comparable, V any](pairs ...Pair[K, V]) Map[K, V] + func NewMap[K comparable, V any](size ...Int) Map[K, V] + func (m Map[K, V]) Clear() + func (m Map[K, V]) Clone() Map[K, V] + func (m Map[K, V]) Contains(key K) bool + func (m Map[K, V]) Copy(src Map[K, V]) + func (m Map[K, V]) Entry(key K) Entry[K, V] + func (m Map[K, V]) Eq(other Map[K, V]) bool + func (m Map[K, V]) Get(k K) Option[V] + func (m Map[K, V]) Insert(key K, value V) Option[V] + func (m Map[K, V]) IsEmpty() bool + func (m Map[K, V]) Iter() Seq2[K, V] + func (m Map[K, V]) Keys() Slice[K] + func (m Map[K, V]) Len() Int + func (m Map[K, V]) Ne(other Map[K, V]) bool + func (m Map[K, V]) Print() Map[K, V] + func (m Map[K, V]) Println() Map[K, V] + func (m Map[K, V]) Remove(key K) Option[V] + func (m Map[K, V]) Std() map[K]V + func (m Map[K, V]) String() string + func (m Map[K, V]) Transform[U any](fn func(Map[K, V]) U) U + func (m Map[K, V]) Values() Slice[V] + type MapOrd []Pair[K, V] + func MapOrdFromMapSafe[K comparable, V any](ms *MapSafe[K, V]) MapOrd[K, V] + func MapOrdFromMap[K comparable, V any](m Map[K, V]) MapOrd[K, V] + func MapOrdOf[K comparable, V any](pairs ...Pair[K, V]) MapOrd[K, V] + func NewMapOrd[K comparable, V any](size ...Int) MapOrd[K, V] + func (mo *MapOrd[K, V]) Clear() + func (mo *MapOrd[K, V]) Copy(src MapOrd[K, V]) + func (mo *MapOrd[K, V]) Entry(key K) OrdEntry[K, V] + func (mo *MapOrd[K, V]) Insert(key K, value V) Option[V] + func (mo *MapOrd[K, V]) Remove(key K) Option[V] + func (mo MapOrd[K, V]) Clone() MapOrd[K, V] + func (mo MapOrd[K, V]) Contains(key K) bool + func (mo MapOrd[K, V]) Eq(other MapOrd[K, V]) bool + func (mo MapOrd[K, V]) Get(key K) Option[V] + func (mo MapOrd[K, V]) IsEmpty() bool + func (mo MapOrd[K, V]) IsSortedBy(fn func(a, b Pair[K, V]) cmp.Ordering) bool + func (mo MapOrd[K, V]) IsSortedByKey(fn func(a, b K) cmp.Ordering) bool + func (mo MapOrd[K, V]) IsSortedByValue(fn func(a, b V) cmp.Ordering) bool + func (mo MapOrd[K, V]) Iter() Seq2[K, V] + func (mo MapOrd[K, V]) IterReverse() Seq2[K, V] + func (mo MapOrd[K, V]) Keys() Slice[K] + func (mo MapOrd[K, V]) Len() Int + func (mo MapOrd[K, V]) Ne(other MapOrd[K, V]) bool + func (mo MapOrd[K, V]) Print() MapOrd[K, V] + func (mo MapOrd[K, V]) Println() MapOrd[K, V] + func (mo MapOrd[K, V]) SortBy(fn func(a, b Pair[K, V]) cmp.Ordering) + func (mo MapOrd[K, V]) SortByKey(fn func(a, b K) cmp.Ordering) + func (mo MapOrd[K, V]) SortByValue(fn func(a, b V) cmp.Ordering) + func (mo MapOrd[K, V]) String() string + func (mo MapOrd[K, V]) Transform[U any](fn func(MapOrd[K, V]) U) U + func (mo MapOrd[K, V]) Values() Slice[V] + type MapSafe struct + func MapSafeFromMapOrd[K comparable, V any](mo MapOrd[K, V]) *MapSafe[K, V] + func MapSafeFromMap[K comparable, V any](m Map[K, V]) *MapSafe[K, V] + func MapSafeOf[K comparable, V any](pairs ...Pair[K, V]) *MapSafe[K, V] + func NewMapSafe[K comparable, V any]() *MapSafe[K, V] + func (ms *MapSafe[K, V]) Clear() + func (ms *MapSafe[K, V]) Clone() *MapSafe[K, V] + func (ms *MapSafe[K, V]) Contains(key K) bool + func (ms *MapSafe[K, V]) Copy(src *MapSafe[K, V]) + func (ms *MapSafe[K, V]) Entry(key K) SafeEntry[K, V] + func (ms *MapSafe[K, V]) Eq(other *MapSafe[K, V]) bool + func (ms *MapSafe[K, V]) Get(key K) Option[V] + func (ms *MapSafe[K, V]) Insert(key K, value V) Option[V] + func (ms *MapSafe[K, V]) IsEmpty() bool + func (ms *MapSafe[K, V]) Iter() Seq2[K, V] + func (ms *MapSafe[K, V]) Keys() Slice[K] + func (ms *MapSafe[K, V]) Len() Int + func (ms *MapSafe[K, V]) Ne(other *MapSafe[K, V]) bool + func (ms *MapSafe[K, V]) Print() *MapSafe[K, V] + func (ms *MapSafe[K, V]) Println() *MapSafe[K, V] + func (ms *MapSafe[K, V]) Remove(key K) Option[V] + func (ms *MapSafe[K, V]) String() string + func (ms *MapSafe[K, V]) Transform[U any](fn func(*MapSafe[K, V]) U) U + func (ms *MapSafe[K, V]) TryInsert(key K, value V) Option[V] + func (ms *MapSafe[K, V]) Values() Slice[V] + type Mutex struct + func NewMutex[T any](value T) *Mutex[T] + func (m *Mutex[T]) Lock() MutexGuard[T] + func (m *Mutex[T]) TryLock() Option[MutexGuard[T]] + func (m *Mutex[T]) With(fn func(*T)) + type MutexGuard struct + func (g MutexGuard[T]) Deref() *T + func (g MutexGuard[T]) Get() T + func (g MutexGuard[T]) Set(value T) + func (g MutexGuard[T]) Unlock() + type Named Map[String, any] + type OccupiedEntry struct + func (e OccupiedEntry[K, V]) AndModify(fn func(*V)) Entry[K, V] + func (e OccupiedEntry[K, V]) Get() V + func (e OccupiedEntry[K, V]) Insert(value V) V + func (e OccupiedEntry[K, V]) Key() K + func (e OccupiedEntry[K, V]) OrDefault() V + func (e OccupiedEntry[K, V]) OrInsert(value V) V + func (e OccupiedEntry[K, V]) OrInsertWith(fn func() V) V + func (e OccupiedEntry[K, V]) OrInsertWithKey(fn func(K) V) V + func (e OccupiedEntry[K, V]) Remove() V + type OccupiedOrdEntry struct + func (e OccupiedOrdEntry[K, V]) AndModify(fn func(*V)) OrdEntry[K, V] + func (e OccupiedOrdEntry[K, V]) Get() V + func (e OccupiedOrdEntry[K, V]) Insert(value V) V + func (e OccupiedOrdEntry[K, V]) Key() K + func (e OccupiedOrdEntry[K, V]) OrDefault() V + func (e OccupiedOrdEntry[K, V]) OrInsert(value V) V + func (e OccupiedOrdEntry[K, V]) OrInsertWith(fn func() V) V + func (e OccupiedOrdEntry[K, V]) OrInsertWithKey(fn func(K) V) V + func (e OccupiedOrdEntry[K, V]) Remove() V + type OccupiedSafeEntry struct + func (e OccupiedSafeEntry[K, V]) AndModify(fn func(*V)) SafeEntry[K, V] + func (e OccupiedSafeEntry[K, V]) Get() V + func (e OccupiedSafeEntry[K, V]) Insert(value V) V + func (e OccupiedSafeEntry[K, V]) Key() K + func (e OccupiedSafeEntry[K, V]) OrDefault() V + func (e OccupiedSafeEntry[K, V]) OrInsert(value V) V + func (e OccupiedSafeEntry[K, V]) OrInsertWith(fn func() V) V + func (e OccupiedSafeEntry[K, V]) OrInsertWithKey(fn func(K) V) V + func (e OccupiedSafeEntry[K, V]) Remove() V + type Option struct + func None[T any]() Option[T] + func OptionFromPtr[T any](ptr *T) Option[T] + func OptionOf[T any](value T, ok bool) Option[T] + func Some[T any](value T) Option[T] + func (o *Option[T]) GetOrInsert(value T) *T + func (o *Option[T]) GetOrInsertWith(fn func() T) *T + func (o *Option[T]) Insert(value T) *T + func (o *Option[T]) Replace(value T) Option[T] + func (o *Option[T]) Scan(src any) error + func (o *Option[T]) Take() Option[T] + func (o *Option[T]) UnmarshalJSON(data []byte) error + func (o *Option[T]) UnmarshalJSONFrom(dec *jsontext.Decoder) error + func (o Option[T]) And[U any](other Option[U]) Option[U] + func (o Option[T]) Expect(msg string) T + func (o Option[T]) Filter(pred func(T) bool) Option[T] + func (o Option[T]) Inspect(fn func(T)) Option[T] + func (o Option[T]) IsNone() bool + func (o Option[T]) IsNoneOr(pred func(T) bool) bool + func (o Option[T]) IsSome() bool + func (o Option[T]) IsSomeAnd(pred func(T) bool) bool + func (o Option[T]) MapOrElse[U any](defFn func() U, fn func(T) U) U + func (o Option[T]) MapOr[U any](def U, fn func(T) U) U + func (o Option[T]) Map[U any](fn func(T) U) Option[U] + func (o Option[T]) MarshalJSON() ([]byte, error) + func (o Option[T]) MarshalJSONTo(enc *jsontext.Encoder) error + func (o Option[T]) Option() (T, bool) + func (o Option[T]) Or(other Option[T]) Option[T] + func (o Option[T]) OrElse(fn func() Option[T]) Option[T] + func (o Option[T]) Ptr() *T + func (o Option[T]) Some() T + func (o Option[T]) String() string + func (o Option[T]) ThenOf[U any](fn func(T) (U, bool)) Option[U] + func (o Option[T]) Then[U any](fn func(T) Option[U]) Option[U] + func (o Option[T]) Unwrap() T + func (o Option[T]) UnwrapOr(value T) T + func (o Option[T]) UnwrapOrDefault() T + func (o Option[T]) Value() (driver.Value, error) + func (o Option[T]) Xor(other Option[T]) Option[T] + type OrdEntry interface + AndModify func(fn func(*V)) OrdEntry[K, V] + Key func() K + OrDefault func() V + OrInsert func(value V) V + OrInsertWith func(fn func() V) V + OrInsertWithKey func(fn func(K) V) V + type Pair struct + Key K + Value V + func PairOf[K, V any](key K, value V) Pair[K, V] + func (p Pair[K, V]) Unpack() (K, V) + type Result struct + func Eprint[T ~string](format T, args ...any) Result[int] + func Eprintln[T ~string](format T, args ...any) Result[int] + func Err[T any](err error) Result[T] + func OkOrElse[T any](o Option[T], fn func() error) Result[T] + func OkOr[T any](o Option[T], err error) Result[T] + func Ok[T any](value T) Result[T] + func Print[T ~string](format T, args ...any) Result[int] + func Println[T ~string](format T, args ...any) Result[int] + func ResultOf[T any](value T, err error) Result[T] + func TryFormatTo[T ~string](builder *Builder, template T, args ...any) Result[Unit] + func TryFormat[T ~string](template T, args ...any) (result Result[String]) + func Write[T ~string](w io.Writer, format T, args ...any) Result[int] + func Writeln[T ~string](w io.Writer, format T, args ...any) Result[int] + func (r *Result[T]) UnmarshalJSON(data []byte) error + func (r *Result[T]) UnmarshalJSONFrom(dec *jsontext.Decoder) error + func (r Result[T]) And[U any](other Result[U]) Result[U] + func (r Result[T]) Err() error + func (r Result[T]) ErrAs(target any) bool + func (r Result[T]) ErrIs(target error) bool + func (r Result[T]) ErrOption() Option[error] + func (r Result[T]) ErrSource() Option[error] + func (r Result[T]) Expect(msg string) T + func (r Result[T]) Inspect(fn func(T)) Result[T] + func (r Result[T]) InspectErr(fn func(error)) Result[T] + func (r Result[T]) IsErr() bool + func (r Result[T]) IsErrAnd(pred func(error) bool) bool + func (r Result[T]) IsOk() bool + func (r Result[T]) IsOkAnd(pred func(T) bool) bool + func (r Result[T]) MapErr(fn func(error) error) Result[T] + func (r Result[T]) MapOrElse[U any](defFn func(error) U, fn func(T) U) U + func (r Result[T]) MapOr[U any](def U, fn func(T) U) U + func (r Result[T]) Map[U any](fn func(T) U) Result[U] + func (r Result[T]) MarshalJSON() ([]byte, error) + func (r Result[T]) MarshalJSONTo(enc *jsontext.Encoder) error + func (r Result[T]) Ok() T + func (r Result[T]) Option() Option[T] + func (r Result[T]) Or(other Result[T]) Result[T] + func (r Result[T]) OrElse(fn func(error) Result[T]) Result[T] + func (r Result[T]) Result() (T, error) + func (r Result[T]) String() string + func (r Result[T]) ThenOf[U any](fn func(T) (U, error)) Result[U] + func (r Result[T]) Then[U any](fn func(T) Result[U]) Result[U] + func (r Result[T]) Unwrap() T + func (r Result[T]) UnwrapErr() error + func (r Result[T]) UnwrapOr(value T) T + func (r Result[T]) UnwrapOrDefault() T + func (r Result[T]) Wrap(err error) Result[T] + type RwLock struct + func NewRwLock[T any](value T) *RwLock[T] + func (r *RwLock[T]) RWith(fn func(T)) + func (r *RwLock[T]) Read() RwLockReadGuard[T] + func (r *RwLock[T]) TryRead() Option[RwLockReadGuard[T]] + func (r *RwLock[T]) TryWrite() Option[RwLockWriteGuard[T]] + func (r *RwLock[T]) With(fn func(*T)) + func (r *RwLock[T]) Write() RwLockWriteGuard[T] + type RwLockReadGuard struct + func (g RwLockReadGuard[T]) Deref() *T + func (g RwLockReadGuard[T]) Get() T + func (g RwLockReadGuard[T]) Unlock() + type RwLockWriteGuard struct + func (g RwLockWriteGuard[T]) Deref() *T + func (g RwLockWriteGuard[T]) Get() T + func (g RwLockWriteGuard[T]) Set(value T) + func (g RwLockWriteGuard[T]) Unlock() + type SafeEntry interface + AndModify func(fn func(*V)) SafeEntry[K, V] + Key func() K + OrDefault func() V + OrInsert func(value V) V + OrInsertWith func(fn func() V) V + OrInsertWithKey func(fn func(K) V) V + type Seq func(yield func(V) bool) + func FromChan[V any](ch <-chan V) Seq[V] + func RangeInclusive[T constraints.Integer](start, stop T, step ...T) Seq[T] + func Range[T constraints.Integer](start, stop T, step ...T) Seq[T] + func (seq *Seq[V]) Next() Option[V] + func (seq Seq[V]) All(fn func(v V) bool) bool + func (seq Seq[V]) Any(fn func(V) bool) bool + func (seq Seq[V]) Chain(seqs ...Seq[V]) Seq[V] + func (seq Seq[V]) Chan(ctxs ...context.Context) chan V + func (seq Seq[V]) ChunkBy(fn func(a, b V) bool) SeqSlices[V] + func (seq Seq[V]) Chunks(n Int) SeqSlices[V] + func (seq Seq[V]) Collect() collector[V] + func (seq Seq[V]) Combinations(size Int) SeqSlices[V] + func (seq Seq[V]) Context(ctx context.Context) Seq[V] + func (seq Seq[V]) Count() Int + func (seq Seq[V]) CounterBy[K comparable](fn func(V) K) Seq2[K, Int] + func (seq Seq[V]) Cycle() Seq[V] + func (seq Seq[V]) Dedup() Seq[V] + func (seq Seq[V]) Enumerate() Seq2[Int, V] + func (seq Seq[V]) Exclude(fn func(V) bool) Seq[V] + func (seq Seq[V]) Filter(fn func(V) bool) Seq[V] + func (seq Seq[V]) FilterMap[U any](fn func(V) Option[U]) Seq[U] + func (seq Seq[V]) Find(fn func(v V) bool) Option[V] + func (seq Seq[V]) FindMap[U any](fn func(V) Option[U]) Option[U] + func (seq Seq[V]) First() Option[V] + func (seq Seq[V]) FlatMap[U any](fn func(V) Seq[U]) Seq[U] + func (seq Seq[V]) Flatten() Seq[V] + func (seq Seq[V]) Fold[A any](init A, fn func(acc A, val V) A) A + func (seq Seq[V]) ForEach(fn func(v V)) + func (seq Seq[V]) Inspect(fn func(v V)) Seq[V] + func (seq Seq[V]) Intersperse(sep V) Seq[V] + func (seq Seq[V]) Last() Option[V] + func (seq Seq[V]) Map[U any](transform func(V) U) Seq[U] + func (seq Seq[V]) MaxBy(fn func(V, V) cmp.Ordering) Option[V] + func (seq Seq[V]) MinBy(fn func(V, V) cmp.Ordering) Option[V] + func (seq Seq[V]) Nth(n Int) Option[V] + func (seq Seq[V]) Partition(fn func(v V) bool) (Slice[V], Slice[V]) + func (seq Seq[V]) Permutations() SeqSlices[V] + func (seq Seq[V]) ProductBy[S constraints.Number](fn func(V) S) S + func (seq Seq[V]) Pull() (func() (V, bool), func()) + func (seq Seq[V]) Range(fn func(v V) bool) + func (seq Seq[V]) Reduce(fn func(a, b V) V) Option[V] + func (seq Seq[V]) Scan[A any](init A, fn func(acc A, val V) A) Seq[A] + func (seq Seq[V]) Skip(n Int) Seq[V] + func (seq Seq[V]) SkipWhile(fn func(V) bool) Seq[V] + func (seq Seq[V]) SortBy(fn func(a, b V) cmp.Ordering) Seq[V] + func (seq Seq[V]) StepBy(n Int) Seq[V] + func (seq Seq[V]) SumBy[S constraints.Number](fn func(V) S) S + func (seq Seq[V]) Take(n Int) Seq[V] + func (seq Seq[V]) TakeWhile(fn func(V) bool) Seq[V] + func (seq Seq[V]) TryMap[U any](fn func(V) Result[U]) SeqResult[U] + func (seq Seq[V]) Unique() Seq[V] + func (seq Seq[V]) Windows(n Int) SeqSlices[V] + func (seq Seq[V]) Zip[U any](two Seq[U]) Seq2[V, U] + type Seq2 func(yield func(K, V) bool) + func (seq *Seq2[K, V]) Next() Option[Pair[K, V]] + func (seq Seq2[K, V]) All(fn func(K, V) bool) bool + func (seq Seq2[K, V]) Any(fn func(K, V) bool) bool + func (seq Seq2[K, V]) Chain(seqs ...Seq2[K, V]) Seq2[K, V] + func (seq Seq2[K, V]) Chan(ctxs ...context.Context) chan Pair[K, V] + func (seq Seq2[K, V]) Collect() collector2[K, V] + func (seq Seq2[K, V]) Context(ctx context.Context) Seq2[K, V] + func (seq Seq2[K, V]) Count() Int + func (seq Seq2[K, V]) Dedup() Seq2[K, V] + func (seq Seq2[K, V]) Exclude(fn func(K, V) bool) Seq2[K, V] + func (seq Seq2[K, V]) Filter(fn func(K, V) bool) Seq2[K, V] + func (seq Seq2[K, V]) FilterByKey(fn func(K) bool) Seq2[K, V] + func (seq Seq2[K, V]) FilterByValue(fn func(V) bool) Seq2[K, V] + func (seq Seq2[K, V]) FilterMap[K2, V2 any](fn func(K, V) Option[Pair[K2, V2]]) Seq2[K2, V2] + func (seq Seq2[K, V]) Find(fn func(k K, v V) bool) Option[Pair[K, V]] + func (seq Seq2[K, V]) FindMap[U any](fn func(K, V) Option[U]) Option[U] + func (seq Seq2[K, V]) First() Option[Pair[K, V]] + func (seq Seq2[K, V]) Fold[A any](init A, fn func(acc A, k K, v V) A) A + func (seq Seq2[K, V]) ForEach(fn func(k K, v V)) + func (seq Seq2[K, V]) Inspect(fn func(k K, v V)) Seq2[K, V] + func (seq Seq2[K, V]) Intersperse(sep Pair[K, V]) Seq2[K, V] + func (seq Seq2[K, V]) Keys() Seq[K] + func (seq Seq2[K, V]) Last() Option[Pair[K, V]] + func (seq Seq2[K, V]) MapTo[T any](fn func(K, V) T) Seq[T] + func (seq Seq2[K, V]) Map[K2, V2 any](transform func(K, V) (K2, V2)) Seq2[K2, V2] + func (seq Seq2[K, V]) MaxBy(fn func(a, b Pair[K, V]) cmp.Ordering) Option[Pair[K, V]] + func (seq Seq2[K, V]) MinBy(fn func(a, b Pair[K, V]) cmp.Ordering) Option[Pair[K, V]] + func (seq Seq2[K, V]) Nth(n Int) Option[Pair[K, V]] + func (seq Seq2[K, V]) ProductBy[S constraints.Number](fn func(K, V) S) S + func (seq Seq2[K, V]) Pull() (func() (K, V, bool), func()) + func (seq Seq2[K, V]) Range(fn func(k K, v V) bool) + func (seq Seq2[K, V]) Reduce(fn func(a, b Pair[K, V]) Pair[K, V]) Option[Pair[K, V]] + func (seq Seq2[K, V]) Scan[A any](init A, fn func(acc A, k K, v V) A) Seq[A] + func (seq Seq2[K, V]) Skip(n Int) Seq2[K, V] + func (seq Seq2[K, V]) SkipWhile(fn func(K, V) bool) Seq2[K, V] + func (seq Seq2[K, V]) SortBy(fn func(a, b Pair[K, V]) cmp.Ordering) Seq2[K, V] + func (seq Seq2[K, V]) SortByKey(fn func(a, b K) cmp.Ordering) Seq2[K, V] + func (seq Seq2[K, V]) SortByValue(fn func(a, b V) cmp.Ordering) Seq2[K, V] + func (seq Seq2[K, V]) StepBy(n Int) Seq2[K, V] + func (seq Seq2[K, V]) SumBy[S constraints.Number](fn func(K, V) S) S + func (seq Seq2[K, V]) Take(n Int) Seq2[K, V] + func (seq Seq2[K, V]) TakeWhile(fn func(K, V) bool) Seq2[K, V] + func (seq Seq2[K, V]) TryMap[U any](fn func(K, V) Result[U]) SeqResult[U] + func (seq Seq2[K, V]) Unique() Seq2[K, V] + func (seq Seq2[K, V]) Unzip() (Slice[K], Slice[V]) + func (seq Seq2[K, V]) Values() Seq[V] + type SeqResult func(yield func(Result[V]) bool) + func ErrSeq[V any](err error) SeqResult[V] + func FromResultChan[V any](ch <-chan Result[V]) SeqResult[V] + func OkSeq[V any](v V) SeqResult[V] + func (seq *SeqResult[V]) Next() Option[Result[V]] + func (seq SeqResult[V]) All(fn func(v V) bool) Result[bool] + func (seq SeqResult[V]) Any(fn func(v V) bool) Result[bool] + func (seq SeqResult[V]) Chain(seqs ...SeqResult[V]) SeqResult[V] + func (seq SeqResult[V]) Collect() collector[Result[V]] + func (seq SeqResult[V]) Context(ctx context.Context) SeqResult[V] + func (seq SeqResult[V]) Count() Int + func (seq SeqResult[V]) CounterBy[K comparable](fn func(V) K) Result[[]Pair[K, Int]] + func (seq SeqResult[V]) Dedup() SeqResult[V] + func (seq SeqResult[V]) Err() Seq[error] + func (seq SeqResult[V]) Exclude(fn func(V) bool) SeqResult[V] + func (seq SeqResult[V]) Filter(fn func(V) bool) SeqResult[V] + func (seq SeqResult[V]) FilterMap[U any](fn func(V) Option[U]) SeqResult[U] + func (seq SeqResult[V]) Find(fn func(V) bool) Result[Option[V]] + func (seq SeqResult[V]) FindMap[U any](fn func(V) Option[U]) Result[Option[U]] + func (seq SeqResult[V]) First() Result[Option[V]] + func (seq SeqResult[V]) FirstErr() Option[error] + func (seq SeqResult[V]) FlatMap[U any](fn func(V) Seq[U]) SeqResult[U] + func (seq SeqResult[V]) Flatten() SeqResult[V] + func (seq SeqResult[V]) Fold[A any](init A, fn func(acc A, val V) A) Result[A] + func (seq SeqResult[V]) ForEach(fn func(v Result[V])) + func (seq SeqResult[V]) Inspect(fn func(v V)) SeqResult[V] + func (seq SeqResult[V]) Intersperse(sep V) SeqResult[V] + func (seq SeqResult[V]) Last() Result[Option[V]] + func (seq SeqResult[V]) Map[U any](transform func(V) U) SeqResult[U] + func (seq SeqResult[V]) MaxBy(fn func(V, V) cmp.Ordering) Result[Option[V]] + func (seq SeqResult[V]) MinBy(fn func(V, V) cmp.Ordering) Result[Option[V]] + func (seq SeqResult[V]) Nth(n Int) Result[Option[V]] + func (seq SeqResult[V]) Ok() Seq[V] + func (seq SeqResult[V]) Partition() (Slice[V], Slice[error]) + func (seq SeqResult[V]) ProductBy[S constraints.Number](fn func(V) S) Result[S] + func (seq SeqResult[V]) Pull() (func() (Result[V], bool), func()) + func (seq SeqResult[V]) Range(fn func(v Result[V]) bool) + func (seq SeqResult[V]) Reduce(fn func(a, b V) V) Result[Option[V]] + func (seq SeqResult[V]) Scan[A any](init A, fn func(acc A, val V) A) SeqResult[A] + func (seq SeqResult[V]) Skip(n Int) SeqResult[V] + func (seq SeqResult[V]) SkipWhile(fn func(V) bool) SeqResult[V] + func (seq SeqResult[V]) SortBy(fn func(a, b V) cmp.Ordering) SeqResult[V] + func (seq SeqResult[V]) StepBy(n Int) SeqResult[V] + func (seq SeqResult[V]) SumBy[S constraints.Number](fn func(V) S) Result[S] + func (seq SeqResult[V]) Take(n Int) SeqResult[V] + func (seq SeqResult[V]) TakeWhile(fn func(V) bool) SeqResult[V] + func (seq SeqResult[V]) TryCollect() Result[Slice[V]] + func (seq SeqResult[V]) Unique() SeqResult[V] + type SeqSlices func(yield func([]V) bool) + func (seqs SeqSlices[V]) Collect() collectorS[V] + func (seqs SeqSlices[V]) Filter(fn func(Slice[V]) bool) SeqSlices[V] + func (seqs SeqSlices[V]) Flatten() Seq[V] + func (seqs SeqSlices[V]) ForEach(fn func(s Slice[V])) + func (seqs SeqSlices[V]) Map[U any](fn func(Slice[V]) Slice[U]) SeqSlices[U] + type Set map[T]Unit + func NewSet[T comparable](size ...Int) Set[T] + func SetOf[T comparable](values ...T) Set[T] + func (s Set[T]) Clear() + func (s Set[T]) Clone() Set[T] + func (s Set[T]) Contains(v T) bool + func (s Set[T]) ContainsAll(values ...T) bool + func (s Set[T]) ContainsAny(values ...T) bool + func (s Set[T]) Difference(other Set[T]) Set[T] + func (s Set[T]) Disjoint(other Set[T]) bool + func (s Set[T]) Eq(other Set[T]) bool + func (s Set[T]) Insert(values ...T) + func (s Set[T]) Intersection(other Set[T]) Set[T] + func (s Set[T]) IsEmpty() bool + func (s Set[T]) Iter() Seq[T] + func (s Set[T]) Len() Int + func (s Set[T]) Ne(other Set[T]) bool + func (s Set[T]) Print() Set[T] + func (s Set[T]) Println() Set[T] + func (s Set[T]) Remove(v T) bool + func (s Set[T]) String() string + func (s Set[T]) Subset(other Set[T]) bool + func (s Set[T]) Superset(other Set[T]) bool + func (s Set[T]) SymmetricDifference(other Set[T]) Set[T] + func (s Set[T]) Transform[U any](fn func(Set[T]) U) U + func (s Set[T]) Union(other Set[T]) Set[T] + type Slice []T + func NewSlice[T any](size ...Int) Slice[T] + func SliceOf[T any](slice ...T) Slice[T] + func TransformSlice[T, U any](sl []T, fn func(T) U) Slice[U] + func (sl *Slice[T]) DedupBy(eq func(a, b T) bool) + func (sl *Slice[T]) Insert(i Int, values ...T) + func (sl *Slice[T]) Pop() Option[T] + func (sl *Slice[T]) Push(elems ...T) + func (sl *Slice[T]) PushUnique(elems ...T) + func (sl *Slice[T]) Remove(index Int) Option[T] + func (sl *Slice[T]) Replace(i, j Int, values ...T) + func (sl *Slice[T]) Retain(fn func(T) bool) + func (sl Slice[T]) Append(elems ...T) Slice[T] + func (sl Slice[T]) AppendUnique(elems ...T) Slice[T] + func (sl Slice[T]) BinarySearch(value T, fn func(a, b T) cmp.Ordering) Option[Int] + func (sl Slice[T]) Cap() Int + func (sl Slice[T]) Clip() Slice[T] + func (sl Slice[T]) Clone() Slice[T] + func (sl Slice[T]) Contains(val T) bool + func (sl Slice[T]) ContainsAll(values ...T) bool + func (sl Slice[T]) ContainsAny(values ...T) bool + func (sl Slice[T]) ContainsBy(fn func(t T) bool) bool + func (sl Slice[T]) Eq(other Slice[T]) bool + func (sl Slice[T]) EqBy(other Slice[T], fn func(x, y T) bool) bool + func (sl Slice[T]) Fill(val T) + func (sl Slice[T]) First() Option[T] + func (sl Slice[T]) Get(index Int) Option[T] + func (sl Slice[T]) Grow(n Int) Slice[T] + func (sl Slice[T]) Index(val T) Int + func (sl Slice[T]) IndexBy(fn func(t T) bool) Int + func (sl Slice[T]) IsEmpty() bool + func (sl Slice[T]) IsSortedBy(fn func(a, b T) cmp.Ordering) bool + func (sl Slice[T]) Iter() Seq[T] + func (sl Slice[T]) IterReverse() Seq[T] + func (sl Slice[T]) Join(sep ...T) String + func (sl Slice[T]) Last() Option[T] + func (sl Slice[T]) LastIndex() Int + func (sl Slice[T]) Len() Int + func (sl Slice[T]) Ne(other Slice[T]) bool + func (sl Slice[T]) NeBy(other Slice[T], fn func(x, y T) bool) bool + func (sl Slice[T]) PartitionPoint(pred func(T) bool) Int + func (sl Slice[T]) Print() Slice[T] + func (sl Slice[T]) Println() Slice[T] + func (sl Slice[T]) Reverse() + func (sl Slice[T]) Set(index Int, val T) Option[T] + func (sl Slice[T]) SortBy(fn func(a, b T) cmp.Ordering) + func (sl Slice[T]) Std() []T + func (sl Slice[T]) String() string + func (sl Slice[T]) SubSlice(start, end Int, step ...Int) Slice[T] + func (sl Slice[T]) Swap(i, j Int) + func (sl Slice[T]) Transform[U any](fn func(Slice[T]) U) U + func (sl Slice[T]) Unpack(vars ...*T) + type String string + func Format[T ~string](template T, args ...any) String + func NewString[T ~string | rune | byte | ~[]rune | ~[]byte](str T) String + func (s *String) Scan(src any) error + func (s String) Append(str String) String + func (s String) Builder() *Builder + func (s String) Bytes() Bytes + func (s String) BytesUnsafe() Bytes + func (s String) Center(length Int, pad String) String + func (s String) Chars() []String + func (s String) Chunks(size Int) []String + func (s String) Clone() String + func (s String) Cmp(str String) cmp.Ordering + func (s String) Compress() compress + func (s String) Contains(substr String) bool + func (s String) ContainsAll(substrs ...String) bool + func (s String) ContainsAny(substrs ...String) bool + func (s String) ContainsAnyChars(chars String) bool + func (s String) ContainsRune(r rune) bool + func (s String) Count(substr String) Int + func (s String) Cut(start, end String, rmtags ...bool) (String, String) + func (s String) Decode() decode + func (s String) Decompress() decompress + func (s String) Encode() encode + func (s String) EndsWith(suffix String) bool + func (s String) EndsWithAny(suffixes ...String) bool + func (s String) Eq(str String) bool + func (s String) EqFold(str String) bool + func (s String) Fields() []String + func (s String) FieldsBy(fn func(r rune) bool) []String + func (s String) Format(template String) String + func (s String) Gt(str String) bool + func (s String) Gte(str String) bool + func (s String) Hash() shash + func (s String) Index(substr String) Int + func (s String) IndexByte(b byte) Int + func (s String) IndexRune(r rune) Int + func (s String) IsASCII() bool + func (s String) IsDigit() bool + func (s String) IsEmpty() bool + func (s String) IsLower() bool + func (s String) IsTitle() bool + func (s String) IsUpper() bool + func (s String) LastIndex(substr String) Int + func (s String) LastIndexByte(b byte) Int + func (s String) LeftJustify(length Int, pad String) String + func (s String) Len() Int + func (s String) LenRunes() Int + func (s String) Lines() []String + func (s String) Lower() String + func (s String) Lt(str String) bool + func (s String) Lte(str String) bool + func (s String) Map(fn func(rune) rune) String + func (s String) Max(b ...String) String + func (s String) Min(b ...String) String + func (s String) Ne(str String) bool + func (s String) NormalizeNFC() String + func (s String) Prepend(str String) String + func (s String) Print() String + func (s String) Println() String + func (s String) Reader() *strings.Reader + func (s String) Remove(matches ...String) String + func (s String) Repeat(count Int) String + func (s String) Replace(oldS, newS String, n Int) String + func (s String) ReplaceAll(oldS, newS String) String + func (s String) ReplaceMulti(oldnew ...String) String + func (s String) ReplaceNth(oldS, newS String, n Int) String + func (s String) Reverse() String + func (s String) RightJustify(length Int, pad String) String + func (s String) Runes() []rune + func (s String) Similarity(str String) Float + func (s String) Split(sep String) []String + func (s String) SplitAfter(sep String) []String + func (s String) SplitN(sep String, n Int) []String + func (s String) StartsWith(prefix String) bool + func (s String) StartsWithAny(prefixes ...String) bool + func (s String) Std() string + func (s String) StripPrefix(prefix String) String + func (s String) StripSuffix(suffix String) String + func (s String) SubString(start, end Int, step ...Int) String + func (s String) Title() String + func (s String) Transform[U any](fn func(String) U) U + func (s String) Trim() String + func (s String) TrimEnd() String + func (s String) TrimEndSet(cutset String) String + func (s String) TrimSet(cutset String) String + func (s String) TrimStart() String + func (s String) TrimStartSet(cutset String) String + func (s String) Truncate(max Int) String + func (s String) TryBigInt() Result[*big.Int] + func (s String) TryBool() Result[bool] + func (s String) TryComplex() Result[complex128] + func (s String) TryFloat() Result[Float] + func (s String) TryInt() Result[Int] + func (s String) TryUint() Result[uint] + func (s String) Upper() String + func (s String) Value() (driver.Value, error) + type Unit struct + type VacantEntry struct + func (e VacantEntry[K, V]) AndModify(fn func(*V)) Entry[K, V] + func (e VacantEntry[K, V]) Insert(value V) V + func (e VacantEntry[K, V]) Key() K + func (e VacantEntry[K, V]) OrDefault() V + func (e VacantEntry[K, V]) OrInsert(value V) V + func (e VacantEntry[K, V]) OrInsertWith(fn func() V) V + func (e VacantEntry[K, V]) OrInsertWithKey(fn func(K) V) V + type VacantOrdEntry struct + func (e VacantOrdEntry[K, V]) AndModify(fn func(*V)) OrdEntry[K, V] + func (e VacantOrdEntry[K, V]) Insert(value V) V + func (e VacantOrdEntry[K, V]) Key() K + func (e VacantOrdEntry[K, V]) OrDefault() V + func (e VacantOrdEntry[K, V]) OrInsert(value V) V + func (e VacantOrdEntry[K, V]) OrInsertWith(fn func() V) V + func (e VacantOrdEntry[K, V]) OrInsertWithKey(fn func(K) V) V + type VacantSafeEntry struct + func (e VacantSafeEntry[K, V]) AndModify(fn func(*V)) SafeEntry[K, V] + func (e VacantSafeEntry[K, V]) Insert(value V) V + func (e VacantSafeEntry[K, V]) Key() K + func (e VacantSafeEntry[K, V]) OrDefault() V + func (e VacantSafeEntry[K, V]) OrInsert(value V) V + func (e VacantSafeEntry[K, V]) OrInsertWith(fn func() V) V + func (e VacantSafeEntry[K, V]) OrInsertWithKey(fn func(K) V) V