Documentation
¶
Overview ¶
Package pointer provides helper function to interact with pointers
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Ptr ¶
func Ptr[T any](v T) *T
Ptr returns a pointer from a value. It will allocate a new heap object for it.
func UIntPtrToFloatPtr ¶
UIntPtrToFloatPtr converts a uint64 value to float64 and returns a pointer.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.