Registry / utility / deckarep-golang-set-v2

deckarep-golang-set-v2

JSON →
library2.9.0gogounverified

Package mapset implements a simple and generic set collection.

go get github.com/deckarep/golang-set/v2
INSTALL
IMPORT
SIG · DECKAREP-GOLANG-SE
D
deckarep-golang-set-v2
utilitygov2.9.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

mapset
github.com/deckarep/golang-set/v2

Create a set of integers and check for membership.

package main import ( "fmt" mapset "github.com/deckarep/golang-set/v2" ) func main() { s := mapset.NewSet[int](1, 2, 3) fmt.Println(s.Contains(2)) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.9.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
deckarep-golang-set-v2 — go get deckarep-golang-set-v2 · libregistry