Registry / utility / deckarep-golang-set

deckarep-golang-set

JSON →
library1.8.0gogounverified

Package mapset implements a simple and generic set collection for Go.

go get github.com/deckarep/golang-set
INSTALL
IMPORT
SIG · DECKAREP-GOLANG-SE
D
deckarep-golang-set
utilitygov1.8.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

Create a set, add elements, and check membership.

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

No known issues recorded.

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

No dependency data recorded yet.

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