Documentation ¶
Index ¶
- func AbsInt(i int) int
- func AbsInt64(i int64) int64
- func MaxInt(i1, i2 int) int
- func MaxInt64(i1, i2 int64) int64
- func MaxString(i1, i2 string) string
- func MaxUInt(i1, i2 uint) uint
- func MaxUInt64(i1, i2 uint64) uint64
- func MinInt(i1, i2 int) int
- func MinInt64(i1, i2 int64) int64
- func MinString(i1, i2 string) string
- func MinUInt(i1, i2 uint) uint
- func MinUInt64(i1, i2 uint64) uint64
- func TernaryInt(condition bool, resTrue int, resFalse int) int
- func TernaryString(condition bool, resTrue string, resFalse string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TernaryInt ¶
TernaryString acts like a "? :" C-style ternary operator for ints
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.