Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChainMap ¶
type ChainMap[K comparable, V any] interface { Push(leyer map[K]V) Pop() (map[K]V, bool) Get(K) (V, bool) ToMap() map[K]V Copy() ChainMap[K, V] }
func NewChain ¶
func NewChain[K comparable, V any]() ChainMap[K, V]
type OrderedMap ¶
type OrderedMap[K comparable, V any] interface { Get(K) (V, bool) Put(K, V) Delete(K) Iter(func(K, V) bool) bool Slice() []V }
func NewOrdered ¶
func NewOrdered[K comparable, V any]() OrderedMap[K, V]
Click to show internal directories.
Click to hide internal directories.