Documentation
¶
Overview ¶
Package pointers provides generic pointer conversion helpers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromPointer ¶
func FromPointer[T any](value *T) T
FromPointer returns the value pointed to by value, or the zero value of T if value is nil.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.