package
Version:
v0.0.0-...-88714d8
Opens a new window with list of versions in this module.
Published: Feb 10, 2025
License: BSD-3-Clause
Opens a new window with license information.
Imports: 1
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](v *T) *T
Clone create a new pointer with a different memory address than the original, effectively cloning it
func From[T any](v *T, fallback T) T
From makes a value from a pointer
func IsNil(i interface{}) bool
IsNil asserts whether the underlying type is nil, which `interface{} == nil` does not
To makes a pointer to a value
Source Files
¶
Click to show internal directories.
Click to hide internal directories.