package
module
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Apr 18, 2022
License: MPL-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 27
Opens a new window with list of known importers.
README
¶
go-pointer
Tiny library to manager pointers using Go generics
Documentation
¶
func SafeDeref[T any](t *T) T
SafeDeref returns the value from the passed pointer or zero value for a nil pointer.
To returns a pointer to the provided value.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.