Help us shape the future of Go! Take the 2026 Go Developer Survey

texttemplate

package
v0.9.9 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2017 License: Apache-2.0 Imports: 6 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