abc

package
v0.3.30 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2021 License: MIT Imports: 4 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 struct {
	// contains filtered or unexported fields
}

func NewValue added in v0.3.29

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

func (Value) Expect added in v0.3.29

func (v Value) Expect(format string, args ...interface{}) interface{}

func (Value) Value

func (v Value) Value(cb func(err error)) interface{}

Jump to

Keyboard shortcuts

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