package
Version:
v0.1.4
Opens a new window with list of versions in this module.
Published: Sep 19, 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 Clone[T any](p *T) *T
Clone returns a shallow copy of the value behind p.
Nil in, nil out.
func Deref[T any](v *T) T
Deref is the safe equivalent of * operator.
It returns values under the pointer or zero value in case of nil.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.