Registry / utility / go-result

go-result

JSON →
library0.3.1gogounverified

Package go-result provides a Result type for error handling in Go.

go get aidanwoods.dev/go-result
INSTALL
IMPORT
SIG · GO-RESULT
G
go-result
utilitygov0.3.1
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.

result
aidanwoods.dev/go-result

Create and unwrap a Result

package main import ( "fmt" "aidanwoods.dev/go-result" ) func main() { res := result.Ok(42) fmt.Println(res.Unwrap()) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
go-result — go get go-result · libregistry