Versions in this module Expand all Collapse all v1 v1.0.0 Aug 23, 2023 Changes in this version + func LazyOp(cond bool, trueVal, falseVal func() T) T + func Op(cond bool, trueVal T, falseVal T) T + type LazyTernaryThen struct + func (t *LazyTernaryThen[T]) LElse(falseVal func() T) T + type TernaryIf struct + func If(cond bool) *TernaryIf[T] + func (i *TernaryIf[T]) LThen(trueVal func() T) *LazyTernaryThen[T] + func (i *TernaryIf[T]) Then(trueVal T) *TernaryThen[T] + type TernaryThen struct + func (t *TernaryThen[T]) Else(falseVal T) T