texttemplate

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBytesBuffer

func GetBytesBuffer(filename string, data interface{}) (*bytes.Buffer, error)

func GetString

func GetString(filename string, data interface{}) (string, error)

func Parse added in v0.9.7

func Parse(name string, raw string, funcs template.FuncMap) (*template.Template, error)

func ParseFile added in v0.9.8

func ParseFile(filename string, funcs template.FuncMap) (*template.Template, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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