Registry / utility / hashicorp-go-set

hashicorp-go-set

JSON →
library0.1.14gogounverified

A generic set implementation for Go.

go get github.com/hashicorp/go-set
INSTALL
IMPORT
SIG · HASHICORP-GO-SET
H
hashicorp-go-set
utilitygov0.1.14
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.

set
github.com/hashicorp/go-set

Creates a set of integers and checks for membership.

package main import ( "fmt" "github.com/hashicorp/go-set" ) func main() { s := set.New[int](1, 2, 3) fmt.Println(s.Contains(2)) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
hashicorp-go-set — go get hashicorp-go-set · libregistry