Documentation
¶
Index ¶
- func ExecuteTemplate(args []string) error
- func ReadEnvironment() map[string]string
- func ReadTemplate(paths []string, html bool) (*template.GenericTemplate, error)
- func SetErrOutput(stderr io.Writer)
- func SetInput(stdin io.Reader)
- func SetOutput(stdout io.Writer)
- func Stderr() io.Writer
- func Stdin() io.Reader
- func Stdout() io.Writer
- type Context
- type StdFiles
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecuteTemplate ¶ added in v0.6.0
func ReadEnvironment ¶
func ReadTemplate ¶
func ReadTemplate(paths []string, html bool) (*template.GenericTemplate, error)
func SetErrOutput ¶
Types ¶
type Context ¶
type Context struct {
Template *template.GenericTemplate
Data decoder.Data
OutputPath string
}
type StdFiles ¶
type StdFiles struct {
// contains filtered or unexported fields
}
func NewStdFiles ¶
func NewStdFiles() *StdFiles
Click to show internal directories.
Click to hide internal directories.