result-go
A result monad for go.
ok := result.Ok("hello")
hello_world := ok.Map(func(x interface{}) interface{} {
return x.(string) + " world"
})
A result monad for go
go get github.com/xnukernpoll/go-result
A result monad for go.
ok := result.Ok("hello")
hello_world := ok.Map(func(x interface{}) interface{} {
return x.(string) + " world"
})