Versions in this module Expand all Collapse all v1 v1.0.1 Jun 6, 2025 v1.0.0 Nov 25, 2024 Changes in this version + type Map struct + func NewMap[K cmp.Ordered, V any]() *Map[K, V] + func (m *Map[K, V]) Del(key K) bool + func (m *Map[K, V]) MarshalJSON() ([]byte, error) + func (m *Map[K, V]) Put(key K, value V) bool + func (m Map[K, V]) Contains(key K) bool + func (m Map[K, V]) Get(key K) (V, bool) + func (m Map[K, V]) Items() iter.Seq2[K, *V] + func (m Map[K, V]) Keys() []K + func (m Map[K, V]) Len() int + func (m Map[K, V]) Vals() []V + type Set struct + func NewSet[T cmp.Ordered](items ...T) *Set[T] + func (s *Set[T]) Del(val T) bool + func (s *Set[T]) MarshalJSON() ([]byte, error) + func (s *Set[T]) Put(val T) bool + func (s *Set[T]) UnmarshalJSON(b []byte) error + func (s Set[T]) Contains(val T) bool + func (s Set[T]) Items() iter.Seq[T] + func (s Set[T]) Len() int + func (s Set[T]) Values() []T