Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GenericMap ¶
type GenericMap[K any, V any] interface { Store(key K, value V) Delete(key K) Load(key K) (value V, ok bool) LoadAndDelete(key K) (value V, loaded bool) LoadOrStore(key K, value V) (actual V, loaded bool) Range(f func(key K, value V) bool) }
func NewMap ¶
func NewMap[K any, V any]() GenericMap[K, V]
Click to show internal directories.
Click to hide internal directories.