Versions in this module Expand all Collapse all v0 v0.2.0 Jul 14, 2026 v0.1.0 Jun 22, 2026 Changes in this version + type LazySlice struct + func NewLazySlice[K any](load func() []K) *LazySlice[K] + func (s *LazySlice[K]) Seq() iter.Seq[K] + type Map struct + func NewLazyMap[K comparable, V any](load func() map[K]V) *Map[K, V] + func NewMapFrom[K comparable, V any](m map[K]V) *Map[K, V] + func NewMap[K comparable, V any]() *Map[K, V] + func (Map[K, V]) JSONSchemaAlias() any + func (m *Map[K, V]) Copy() map[K]V + func (m *Map[K, V]) Del(key K) + func (m *Map[K, V]) Get(key K) (V, bool) + func (m *Map[K, V]) GetOrSet(key K, fn func() V) V + func (m *Map[K, V]) Len() int + func (m *Map[K, V]) MarshalJSON() ([]byte, error) + func (m *Map[K, V]) Reset(input map[K]V) + func (m *Map[K, V]) Seq() iter.Seq[V] + func (m *Map[K, V]) Seq2() iter.Seq2[K, V] + func (m *Map[K, V]) Set(key K, value V) + func (m *Map[K, V]) Take(key K) (V, bool) + func (m *Map[K, V]) UnmarshalJSON(data []byte) error + type Slice struct + func NewSliceFrom[T any](s []T) *Slice[T] + func NewSlice[T any]() *Slice[T] + func (s *Slice[T]) Append(items ...T) + func (s *Slice[T]) Copy() []T + func (s *Slice[T]) Get(index int) (T, bool) + func (s *Slice[T]) Len() int + func (s *Slice[T]) Seq() iter.Seq[T] + func (s *Slice[T]) Seq2() iter.Seq2[int, T] + func (s *Slice[T]) SetSlice(items []T) + type Value struct + func NewValue[T any](t T) *Value[T] + func (v *Value[T]) Get() T + func (v *Value[T]) Set(t T) + type VersionedMap struct + func NewVersionedMap[K comparable, V any]() *VersionedMap[K, V] + func (m *VersionedMap[K, V]) Copy() map[K]V + func (m *VersionedMap[K, V]) Del(key K) + func (m *VersionedMap[K, V]) Get(key K) (V, bool) + func (m *VersionedMap[K, V]) Len() int + func (m *VersionedMap[K, V]) Seq2() iter.Seq2[K, V] + func (m *VersionedMap[K, V]) Set(key K, value V) + func (m *VersionedMap[K, V]) Version() uint64