package
Version:
v2.0.0-...-a7294fb
Opens a new window with list of versions in this module.
Published: Dec 20, 2024
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
¶
Ptr returns a pointer to the provided value.
func Value[T any](v *T) T
Value extracts a value from a pointer. If the pointer is nil, the default value is returned.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.