template

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 3, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Template

type Template struct {
	// contains filtered or unexported fields
}

Template is a container for holding onto the ast Variables

func NewTemplate

func NewTemplate(configResult *config.Result) (*Template, error)

NewTemplate will prepare a template object for use

func (*Template) Render

func (t *Template) Render(input io.Reader) (io.Reader, error)

Render will parse the provided text and interpolate the known variables/functions

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL