package
Version:
v2.6.0
Opens a new window with list of versions in this module.
Published: Feb 21, 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.