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 generic set type.
func Intersection ¶
func Intersection[T comparable](a, b Set[T]) Set[T]
Intersection returns the intersection of two sets.
Click to show internal directories.
Click to hide internal directories.