Documentation
¶
Overview ¶
Package mapset provides a set implementation using map[T]struct{}
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MapSet ¶
type MapSet[T comparable] map[T]struct{}
MapSet is a set of T
func From ¶
func From[T comparable](vs ...T) MapSet[T]
From creates a new set initialized with the provided values.
Click to show internal directories.
Click to hide internal directories.