Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Result ¶
type Result[T comparable] struct { // contains filtered or unexported fields }
Result contains the result tuple of an operation.
func NewResult ¶
func NewResult[T comparable](val T, err error) *Result[T]
NewResult constructs a new result container.
Click to show internal directories.
Click to hide internal directories.