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{}
func MergeSet ¶
func MergeSet[T comparable](old, new Set[T]) Set[T]
func NewSet ¶
func NewSet[T comparable](vals ...T) Set[T]
func (Set[T]) MarshalJSON ¶
func (Set[T]) TransformAsSlice ¶
func (s Set[T]) TransformAsSlice() []T
func (*Set[T]) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.