package
Version:
v1.17.2
Opens a new window with list of versions in this module.
Published: Jan 5, 2026
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func GetValue[T any](value *T) T
GetValue returns the value of the pointer, or the zero value if the pointer is nil.
func OfValue[T any](value T) *T
OfValue returns a pointer to the value.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.