package
0.0.0-20240912065615-60fd97213283
Repository: https://github.com/go-leo/gox.git
Documentation: pkg.go.dev
# Functions
Indirect returns the value pointed to by p.
IndirectOrZero returns the value pointed to by p or zero value of E.
Pointer stores v in a new E value and returns a pointer to it.
No description provided by the author
Ternary is akin to a ternary operator in Go, which based on the boolean `condition`, returns either `exprIfTrue` or `exprIfFalse`.
TernaryFunc is akin to a ternary operator in Go, which conditionally executes either `exprIfTrue` or `exprIfFalse` based on the value of `condition`, and returns the result of the executed function.