Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Map ¶
type Map[K comparable, V any] interface { Set(key K, value V) Get(key K) (value V, ok bool) Len() int Seq(func(key K, value V) bool) Delete(key K) }
func NewWeakMap ¶
func NewWeakMap[K comparable, PV interface{ *V }, V any]() Map[K, PV]
type WeakMap ¶
type WeakMap[K comparable, PV interface{ *V }, V any] struct { // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.