Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Lookup ¶
type Lookup[T comparable] map[T]struct{}
Lookup is a lookup map by given key.
func NewLookup ¶
func NewLookup[T comparable](initialKeys ...T) Lookup[T]
NewLookup returns new ready to use lookup map.
func NewLookupCapped ¶
func NewLookupCapped[T comparable](n int, initialKeys ...T) Lookup[T]
NewLookupCapped returns new ready to use lookup map with given map capacity.
Click to show internal directories.
Click to hide internal directories.