Sprig Function Documentation The Sprig library provides over 70 template functions for Go’s template language. String Functions: trim, wrap, randAlpha, plural, etc. String List Functions: splitList, sortAlpha, etc. Integer Math Functions: add, max, mul, etc. Integer Slice Functions: until, untilStep Float Math Functions: addf, maxf, mulf, etc. Date Functions: now, date, etc. Defaults Functions: de