proxy.golang.org : github.com/blanet/stringset
Package stringset implements a lightweight (finite) set-of-string type based on Go's built-in map. A Set provides some convenience methods for common set operations. A nil Set is ready for use as an empty set. The basic set methods (Diff, Intersect, Union, IsSubset, Map, Choose, Partition) do not mutate their arguments. There are also mutating operations (Add, Discard, Pop, Remove, Update) that modify their receiver in-place. A Set can also be traversed and modified using the normal map operations. Being a map, a Set is not safe for concurrent access by multiple goroutines unless all the concurrent accesses are reads.
Registry
-
Source
- Documentation
- JSON
- codemeta.json
purl: pkg:golang/github.com/blanet/stringset
License: BSD-3-Clause
Latest release: over 6 years ago
First release: over 7 years ago
Namespace: github.com/blanet
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: about 1 month ago