Documentation
¶
Overview ¶
Package set provides a generic implementation of a set.
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{}
A Set is a generic set implementation.
func From ¶
func From[T comparable](elements ...T) Set[T]
From returns a Set containing the elements.
Click to show internal directories.
Click to hide internal directories.