Documentation
¶
Overview ¶
Package value provides value-first conditional selection. Use this for selecting a value with a fallback, not for executing branches of logic.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cond ¶
type Cond[T any] struct { // contains filtered or unexported fields }
Cond holds a value pending a condition check.
Click to show internal directories.
Click to hide internal directories.