package
Version:
v0.9.0
Opens a new window with list of versions in this module.
Published: Mar 26, 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 Whom[T any](b bool, yes, no T) T
Whom is exactly same as C/C++ ternary operator. In Go it's implemented with
generics.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.