Documentation
¶
Index ¶
- type Map
- func (m *Map[K, V]) Access(fn func(s map[K]V) error) error
- func (m *Map[K, V]) Clear()
- func (m *Map[K, V]) Delete(k K)
- func (m *Map[K, V]) Get(k K) (value V, ok bool)
- func (m *Map[K, V]) GetValue(k K) (value V)
- func (m *Map[K, V]) Len() int
- func (m *Map[K, V]) Seq() iter.Seq2[K, V]
- func (m *Map[K, V]) SeqRead() iter.Seq2[K, V]
- func (m *Map[K, V]) Set(k K, v V)
- type Slice
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Map ¶
type Map[K comparable, V any] struct { // contains filtered or unexported fields }
Map is a mutex synchronized map for concurrent use.
Click to show internal directories.
Click to hide internal directories.