add1
func add1(arg1 interface{}) int64
Increments a value by 1.
add1f
func add1f(arg1 interface{}) float64
Increments a float value by 1.
addSprig
func addSprig(args ...interface{}) int64
Sum numbers with `add`. Accepts two or more inputs.
Aliases
addf
func addf(args ...interface{}) float64
Sum float numbers with `add`. Accepts two or more inputs.
ceilSprig
func ceilSprig(arg1 interface{}) float64
Returns the greatest float value greater than or equal to input value.
Aliases
divSprig
func divSprig(arg1 interface{}, arg2 interface{}) int64
Performs integer division.
Aliases
divf
func divf(arg1 interface{}, args ...interface{}) float64
Performs float division.
floorSprig
func floorSprig(arg1 interface{}) float64
Returns the greatest float value less than or equal to input value
Aliases
maxSprig
func maxSprig(arg1 interface{}, args ...interface{}) int64
Returns the largest of a series of integers.
Aliases
maxf
func maxf(arg1 interface{}, args ...interface{}) float64
Returns the largest of a series of floats.
minSprig
func minSprig(arg1 interface{}, args ...interface{}) int64
Returns the smallest of a series of integers.
Aliases
minf
func minf(arg1 interface{}, args ...interface{}) float64
Returns the smallest of a series of floats.
modSprig
func modSprig(arg1 interface{}, arg2 interface{}) int64
Performs integer modulo.
Aliases
mulSprig
func mulSprig(arg1 interface{}, args ...interface{}) int64
Multiplies numbers. Accepts two or more inputs.
Aliases
mulf
func mulf(arg1 interface{}, args ...interface{}) float64
Multiplies floats. Accepts two or more inputs.
randInt
func randInt(min int, max int) int
Returns a random integer value from min (inclusive) to max
(exclusive).
round
func round(arg1 interface{}, arg2 int, args ...float64) float64
Returns a float value with the remainder rounded to the given number
to digits after the decimal point.
seq
func seq(args ...int) string
Works like the bash seq command.
subSprig
func subSprig(arg1 interface{}, arg2 interface{}) int64
Subtracts a number from another number.`
Aliases
subf
func subf(arg1 interface{}, args ...interface{}) float64
Subtracts a floats from another floats.`
untilStep
func untilStep(arg1 int, arg2 int, arg3 int) []int
Generates a list of counting integers. But it allows you to define a
start, stop, and step