Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFileRenderer ¶ added in v0.25.2
func NewFileRenderer(readFile func(filename string) ([]byte, error), basePath string, env environment.Environment) *templateFileRenderer
func RequiredEnv ¶
Types ¶
type Context ¶
type Context struct {
// contains filtered or unexported fields
}
type FileRenderer ¶ added in v0.25.2
type TemplateData ¶ added in v0.28.0
type TemplateData struct { // Environment is accessible as `.Environment` from any template executed by the renderer Environment environment.Environment }
Click to show internal directories.
Click to hide internal directories.