Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Set ¶
type Set[T comparable] map[T]struct{}
Set is a map as a set data structure.
func NewWithSize ¶
func NewWithSize[T comparable](size int) Set[T]
NewWithSize creates an empty Set of fixed size for elements of type T.
Click to show internal directories.
Click to hide internal directories.