Documentation
¶
Overview ¶
Package sets provides utilities to manipulate sets.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Sets ¶
type Sets[T comparable] map[T]struct{}
Sets is a set of items.
func NewSets ¶
func NewSets[T comparable](items ...T) Sets[T]
NewSets creates a Sets from a list of values.
Click to show internal directories.
Click to hide internal directories.