package
Version:
v0.0.0-...-2e5d07d
Opens a new window with list of versions in this module.
Published: May 18, 2025
License: GPL-3.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Map is a regular map but synchronized with a mutex.
New returns a new syncmap.
All iterates over all elements in the map
func (m *Map[K, V]) Delete(key K)
Delete deletes a key.
Len returns the number of elements in the map.
func (m *Map[K, V]) Load(key K) (V, bool)
Load returns the value for a key.
func (m *Map[K, V]) Store(key K, value V)
Store sets the value for a key.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.