Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PtrIfNotEmpty ¶
func PtrIfNotEmpty[T comparable](v T) *T
PtrIfNotEmpty retrieves a pointer of v if value is different from the zero-value of T.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.