template

package
v0.9.0-alpha Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2018 License: MIT Imports: 4 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Render

func Render(tpl []byte, obj interface{}) ([]byte, error)

Render renders the given a Go text template as a []byte and any object to be exposed within the template as "." into the resulting []byte. It also permits the use of functions from the sprig library.

Types

This section is empty.

Jump to

Keyboard shortcuts

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