render

package
v0.0.0-...-c9914b4 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileSet

type FileSet map[string]Template

func NewFileSet

func NewFileSet(files ...map[string]Template) FileSet

func (FileSet) Compile

func (f FileSet) Compile(data interface{}) error

func (FileSet) Load

func (f FileSet) Load(ctx context.Context, sources []string) error

func (FileSet) LoadFunc

func (f FileSet) LoadFunc() filepath.WalkFunc

type Template

type Template string

func NewTemplate

func NewTemplate(tmpl string) Template

func (Template) Compile

func (t Template) Compile(w io.Writer, data interface{}) error

func (Template) String

func (t Template) String() string

Jump to

Keyboard shortcuts

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