package
Version:
v1.2.0
Opens a new window with list of versions in this module.
Published: Jan 30, 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
¶
Ptr returns a pointer to v.
func ValueIf[T any](cond bool, v, def T) T
ValueIf returns v if cond is true, otherwise def.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.