Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Result ¶
type Result[T any] struct { // contains filtered or unexported fields }
Result wraps the idiomatic tuple of (value, error)
func Try ¶
Try transforms the value of Result to the new type if OK, returns the original error otherwise
Click to show internal directories.
Click to hide internal directories.