Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Set ¶
type Set[T comparable] struct { // contains filtered or unexported fields }
Set is a thread-safe set of items.
func (*Set[T]) Add ¶
Add adds an item to the set. Returns true if the item was added, false if it was already present.
Click to show internal directories.
Click to hide internal directories.