Versions in this module Expand all Collapse all v0 v0.5.0 Nov 12, 2024 v0.4.1 Oct 7, 2024 Changes in this version + type Empty = Result[None] + func EmptyFailure(err error) Empty + func EmptySuccess() Empty + type None struct + type Result struct + Error error + func Failure[T any](err error) Result[T] + func Success[T any](value T) Result[T] + func (r Result[T]) Get() T + func (r Result[T]) IsFailure() bool + func (r Result[T]) IsSuccess() bool + func (r Result[T]) OrElse(f func() Result[T]) Result[T]