Result

package
v1.0.12 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Any added in v1.0.12

type Any interface{}

type ErrorResult

type ErrorResult struct {
	// contains filtered or unexported fields
}

func Result

func Result(vs ...Any) *ErrorResult

func (*ErrorResult) Unwrap

func (this *ErrorResult) Unwrap() []Any

func (*ErrorResult) Unwrap_Or

func (this *ErrorResult) Unwrap_Or(v []Any) []Any

func (*ErrorResult) Unwrap_Or_Else

func (this *ErrorResult) Unwrap_Or_Else(f func() []Any) []Any

Jump to

Keyboard shortcuts

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