package
Version:
v0.8.13
Opens a new window with list of versions in this module.
Published: Dec 19, 2022
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
require fails the test if the condition is false.
require fails the test if the condition is false.
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.