Documentation
¶
Index ¶
- func ResultToMaybe[T any](result monad.Result[T]) (maybe monad.Maybe[T])
- func ResultToMaybeError[T any](result monad.Result[T]) (maybe monad.Maybe[error])
- func ToAny(value any) any
- func ToJSON(value any) monad.Result[string]
- func ToPointer[T any](value T) *T
- func ToPrettyJSON(value any) monad.Result[string]
- func ToValue[T any](pointer *T) T
- type Maybe
- type Result
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResultToMaybe ¶ added in v0.0.10
func ResultToMaybeError ¶ added in v0.0.10
Types ¶
Click to show internal directories.
Click to hide internal directories.