package
Version:
v0.0.1-release
Opens a new window with list of versions in this module.
Published: Jun 29, 2023
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 FromPtr[T any](v *T) T
FromPtr is a safe conversion from ptr to value
however this silents if the underlying value is nil
thus use with caution
func ToPtr[T any](v T) *T
Source Files
¶
Click to show internal directories.
Click to hide internal directories.