Documentation ¶
Index ¶
- type Multidict
- func (md Multidict[K, V]) Contains(key K, value V) bool
- func (md Multidict[K, V]) ContainsKey(key K) bool
- func (md Multidict[K, V]) Discard(key K, value V)
- func (md Multidict[K, V]) DiscardKey(k K)
- func (md Multidict[K, V]) Iter(key K, f func(value V))
- func (md Multidict[K, V]) IterKeys(f func(key K))
- func (md Multidict[K, V]) Len() int
- func (md Multidict[K, V]) Put(key K, value V)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Multidict ¶
type Multidict[K comparable, V comparable] map[K]set.Set[V]
func New ¶
func New[K comparable, V comparable]() Multidict[K, V]
func (Multidict[K, V]) ContainsKey ¶
func (Multidict[K, V]) DiscardKey ¶
func (md Multidict[K, V]) DiscardKey(k K)
Click to show internal directories.
Click to hide internal directories.