package
Version:
v0.0.23
Opens a new window with list of versions in this module.
Published: Feb 16, 2025
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 13
Opens a new window with list of known importers.
Documentation
¶
func ToPointer[T any](value T) *T
Convert value to pointer of data type
func ToSafeValue[T any](value any) T
Convert any value to `T` data type and if value is not valid or `nil`, will use default value of `T` (null/nil safety) as return value
Source Files
¶
Click to show internal directories.
Click to hide internal directories.