Documentation
¶
Overview ¶
Package util contains internal utilities.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValueOrDefault ¶
func ValueOrDefault[T any](p *T) (v T)
ValueOrDefault returns the value from the given pointer, or the zero value of the given type.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.