Versions in this module Expand all Collapse all v2 v2.0.0 Jan 4, 2024 Changes in this version + type Map struct + func New[K comparable, V any]() *Map[K, V] + func (m *Map[K, V]) Clear() + func (m *Map[K, V]) Empty() bool + func (m *Map[K, V]) FromJSON(data []byte) error + func (m *Map[K, V]) Get(key K) (value V, found bool) + func (m *Map[K, V]) Keys() []K + func (m *Map[K, V]) MarshalJSON() ([]byte, error) + func (m *Map[K, V]) Put(key K, value V) + func (m *Map[K, V]) Remove(key K) + func (m *Map[K, V]) Size() int + func (m *Map[K, V]) String() string + func (m *Map[K, V]) ToJSON() ([]byte, error) + func (m *Map[K, V]) UnmarshalJSON(bytes []byte) error + func (m *Map[K, V]) Values() []V v2.0.0-alpha Jan 4, 2024