Documentation ¶
Index ¶
- type Result
- func (r *Result) And(res *Result) *Result
- func (r *Result) AndThen(fn func(interface{}) *Result) *Result
- func (r *Result) IsErr() bool
- func (r *Result) IsOk() bool
- func (r *Result) Map(fn func(interface{}) interface{}) *Result
- func (r *Result) MapErr(fn func(err error) error) *Result
- func (r *Result) Or(res *Result) *Result
- func (r *Result) OrElse(fn func(err error) *Result) *Result
- func (r *Result) Unwrap() interface{}
- func (r *Result) UnwrapOr(v interface{}) interface{}
- func (r *Result) UnwrapOrElse(fn func(err error) interface{}) interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.