Documentation
¶
Index ¶
- type Result
- func (r Result[O]) Equals(other Result[O]) bool
- func (r Result[O]) Error() error
- func (r Result[O]) IsFailure() bool
- func (r Result[O]) IsSuccess() bool
- func (r Result[O]) Output() O
- func (r *Result[O]) SetError(fault error) *Result[O]
- func (r *Result[O]) SetOutput(value O) *Result[O]
- func (r *Result[O]) SetState(state State) *Result[O]
- func (r Result[O]) State() State
- type State
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.