package
Version:
v0.60.0
Opens a new window with list of versions in this module.
Published: Jun 14, 2024
License: MPL-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 7
Opens a new window with list of known importers.
Documentation
¶
func Or[T any](p *T, or T) T
Or will dereference a pointer and return the given value if it's nil.
func Ptr[T any](val T) *T
Ptr creates a ptr from a value to use it inline.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.