Skip to content

Functions

Go templates are lightweight but extensible. Go itself supplies built-in functions, including comparison operators and other basic tools. These are listed in the Go template documentation. Stencil exposes more functions through Sprig and itself.