package
Version:
v0.0.74
Opens a new window with list of versions in this module.
Published: Nov 15, 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
¶
Package ptr contains the Ptr function
func Ptr[T any](val T) *T
Ptr takes an argument and returns a pointer to it
this is useful when instantiating structs whose fields are pointers to basic
types
Source Files
¶
Click to show internal directories.
Click to hide internal directories.