abc

package
v0.3.36 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2021 License: MIT Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cancel

type Cancel struct {
	Cancel context.CancelFunc
	Err    error
}

func (Cancel) Error

func (t Cancel) Error() string

type FutureValue

type FutureValue interface {
	Expect(format string, a ...interface{})
	Err() error
	String() string
	Raw() []reflect.Value
	Value(fn interface{}) error
}

type Value

type Value interface {
	Err() error
	Get() interface{}
	Throw(args ...interface{}) interface{}
	Value(cb func(err error)) interface{}
	Expect(format string, args ...interface{}) interface{}
}

func NewValue added in v0.3.29

func NewValue(fn func() (interface{}, error)) Value

Jump to

Keyboard shortcuts

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