Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultIfZero ¶ added in v0.20.0
func DefaultIfZero[T comparable](value, fallback T) T
DefaultIfZero returns fallback when value is the zero value.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.