Documentation
¶
Overview ¶
Package mapset provides an implementation of a set using the built-in map.
Example ¶
package main import ( "fmt" "github.com/zendesk/generic/mapset" ) func main() { set := mapset.New[string]() set.Put("foo") set.Put("bar") set.Put("baz") fmt.Println(set.Has("foo")) fmt.Println(set.Has("quux")) }
Output: true false
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.