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]bool
func Diff ¶
func Diff[T comparable](s, t Set[T]) Set[T]
func Intersect ¶
func Intersect[T comparable](sets ...Set[T]) Set[T]
func NewSet ¶
func NewSet[T comparable](vals ...T) Set[T]
func Union ¶
func Union[T comparable](sets ...Set[T]) Set[T]
Click to show internal directories.
Click to hide internal directories.