Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Deref ¶
func Deref[T any](ptr *T) T
Deref returns the value the pointer points to. If ptr is nil the function returns zero value
func NonEmptyOrDefault ¶
func NonEmptyOrDefault[T comparable](t T, def T) T
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.