Registry / utility / iotaledger-hive-go-lo

iotaledger-hive-go-lo

JSON →
library0.0.0-20240119103833-4bfcf8239eb5gogounverified

Provides generic utility functions and helpers for Go, generated as part of the IOTA Hive.go library.

go get github.com/iotaledger/hive.go/lo
INSTALL
IMPORT
SIG · IOTALEDGER-HIVE-GO
I
iotaledger-hive-go-lo
utilitygov0.0.0-20240119103833-4bfcf8239eb5
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.

lo
github.com/iotaledger/hive.go/lo

Uses lo.PanicOnErr to handle errors by panicking.

package main import ( "fmt" "github.com/iotaledger/hive.go/lo" ) func main() { result := lo.PanicOnErr(doSomething()) fmt.Println(result) } func doSomething() (string, error) { return "hello", nil }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20240119103833-4bfcf8239eb5latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
iotaledger-hive-go-lo — go get iotaledger-hive-go-lo · libregistry