results

An attempt to recreate Rust's Result type by abusing generics.

View this package's source.

Add it to your project:

$ go get dathagerty.com/go/results

And then import it into your code:

import "dathagerty.com/go/results"

View documentation for this module:

The code in this module is available under the WTFPL license.