package
Version:
v0.39.3
Opens a new window with list of versions in this module.
Published: Aug 12, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
String is a set of strings, implemented via map[string]struct{} for minimal memory consumption.
NewString creates a String from a list of values.
Delete removes all items from the set.
Has returns true if and only if item is contained in the set.
HasAll returns true if and only if all items are contained in the set.
Insert adds items to the set.
InsertSet inserts all items from sets into s.
Len returns the size of the set.
UnsortedList returns the slice with contents in random order.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.