package
Version:
v0.0.0-...-b6b2d9b
Opens a new window with list of versions in this module.
Published: Dec 14, 2024
License: Apache-2.0
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 Deref[T any](ptr *T) T
Deref returns the value the pointer points to. If ptr is nil the function returns zero value
func DerefOr[T any](ptr *T, def T) T
To returns pointer to the passed value
Source Files
¶
Click to show internal directories.
Click to hide internal directories.