template

package
v0.0.24 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecuteFile

func ExecuteFile(path string, data interface{}) ([]byte, error)

ExecuteFile executes a template file located at path with the specified data

func ExecuteString

func ExecuteString(text string, data interface{}) ([]byte, error)

ExecuteString executes a template string with the specified data

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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