renderer

package
v0.1.0-alpha.4 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2018 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenderTemplate

func RenderTemplate(contents string, metadata *metadata.Metadata) (string, error)

RenderTemplate renders a template with the provided metadata.

Types

type Renderer

type Renderer struct{}

Renderer renders all pipeline templates.

func (*Renderer) Render

func (r *Renderer) Render(m *metadata.Metadata, s string) (string, error)

Render renders a template.

Jump to

Keyboard shortcuts

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