result

package
v0.0.0-...-b4a68df Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 1, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Unwrap

func Unwrap[T any](seq iter.Seq[Of[T]]) iter.Seq2[T, error]

func Wrap

func Wrap[T any](seq iter.Seq2[T, error]) iter.Seq[Of[T]]

Types

type Of

type Of[T any] struct {
	// contains filtered or unexported fields
}

func Err

func Err[T any](err error) Of[T]

func Ok

func Ok[T any](v T) Of[T]

func (Of[T]) Err

func (r Of[T]) Err() error

func (Of[T]) Get

func (r Of[T]) Get() (T, error)

func (Of[T]) MustGet

func (r Of[T]) MustGet() T

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL