tmplt

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Expand

func Expand(name, in string, out io.Writer, values interface{}) error

Expand takes an in string with https://golang.org/pkg/text/template/ directives and values and writes the result to out.

func ExpandAll

func ExpandAll(path, suffix string, values interface{}) error

ExpandAll looks for files in path directory and its subdirectories with suffix, expands them and writes the result in a file without suffix.

func ExpandFile

func ExpandFile(path, suffix string, values interface{}) error

ExpandFile expands the file at path and writes the result in a file without suffix.

Types

This section is empty.

Jump to

Keyboard shortcuts

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