Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TernaryIf ¶
TernaryIf, implements the missing ternary operator in go in the form
cond ? vtrue : vfalse
func TernaryIfIf ¶
TernaryIfIf, implements a double layer ternary operator of the form:
condA ? atrue : (condB? vtrue : vfalse)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.