package
Version:
v0.0.6
Opens a new window with list of versions in this module.
Published: Jan 27, 2025
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 8
Opens a new window with list of known importers.
Documentation
¶
-
type Map
-
func (m *Map[K, V]) Clear()
-
func (m *Map[K, V]) Delete(key K)
-
func (m *Map[K, V]) Get(key K) (V, bool)
-
func (m *Map[K, V]) Len() int
-
func (m *Map[K, V]) Range(handler func(key K, value V) (error, bool)) error
-
func (m *Map[K, V]) Set(key K, value V)
func (m *Map[K, V]) Clear()
func (m *Map[K, V]) Delete(key K)
func (m *Map[K, V]) Get(key K) (V, bool)
Range (WARN) does not support nested ranges with Delete in them.
func (m *Map[K, V]) Set(key K, value V)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.