Documentation
¶
Index ¶
- type Error
- type Nothing
- func (nothing Nothing[T]) Else(call func() Option[T]) Option[T]
- func (Nothing[T]) MustValue() T
- func (Nothing[T]) String() string
- func (nothing Nothing[T]) Then(call func(T) Option[T]) Option[T]
- func (nothing Nothing[T]) WhenNothing(call func()) Option[T]
- func (nothing Nothing[T]) WhenValue(call func(T)) Option[T]
- type NothingError
- type OK
- type Option
- type Result
- type Value
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NothingError ¶ added in v0.0.3
type NothingError struct {
// contains filtered or unexported fields
}
func NewNothingError ¶ added in v0.0.3
func NewNothingError() NothingError
Click to show internal directories.
Click to hide internal directories.