package
Version:
v0.10.0
Opens a new window with list of versions in this module.
Published: Jan 14, 2025
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](t *T) T
Get returns the value from the passed pointer or the zero value if the pointer is nil.
func ToPointer[T any](t T) *T
To returns a pointer to the passed value.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.