result

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Result

type Result[Type any] interface {
	String() string
	IsOk() bool
	// contains filtered or unexported methods
}

func Err

func Err[Type any](errorMessage string) Result[Type]

func Ok

func Ok[Type any](value Type) Result[Type]

Jump to

Keyboard shortcuts

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