Registry / utility / iotaledger-hive-go-constraints

iotaledger-hive-go-constraints

JSON →
library0.0.0-20251001162450-d572d7955f11gogounverified

Provides generic constraint types and utilities for Go generics.

go get github.com/iotaledger/hive.go/constraints
INSTALL
IMPORT
SIG · IOTALEDGER-HIVE-GO
I
iotaledger-hive-go-constraints
utilitygov0.0.0-20251001162450-d572d7955f11
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.

constraints
github.com/iotaledger/hive.go/constraints

Use the Integer constraint type from the constraints package.

package main import ( "fmt" "github.com/iotaledger/hive.go/constraints" ) func main() { var x constraints.Integer = 42 fmt.Println(x) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20251001162450-d572d7955f11latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
iotaledger-hive-go-constraints — go get iotaledger-hive-go-constraints · libregistry