package
1.40.0-rc.1
Repository: https://github.com/getoutreach/stencil.git
Documentation: pkg.go.dev

# Functions

NewFile creates a new file, an existing file at the given path is parsed to read blocks from, if it exists.
NewFuncMap returns the standard func map for a template.
NewStencil creates a new, fully initialized Stencil renderer function.
NewTemplate creates a new Template with the current file being the same name with the extension .tpl being removed.
NewValues returns a fully initialized Values based on the current runtime environment.

# Variables

Default are stock template functions that don't impact the generation of a file.

# Structs

File is a file that was created by a rendered template.
Stencil provides the basic functions for stencil templates.
Template is a file that has been processed by stencil.
TplFile is the current file we're writing output to in a template.
TplStencil contains the global functions available to a template for interacting with stencil.
Values is the top level container for variables being passed to a stencil template.