Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Input ¶
type Input struct {
// Path is the absolute path of the file to be generated from this
// Input.
Path string
// TemplateBody is the Go text template from which the file is
// generated.
TemplateBody string
// TemplateData defines data for the template defined in TemplateBody.
TemplateData interface{}
// TemplateDelims are used to call
// https://golang.org/pkg/text/template/#Template.Delims if set.
TemplateDelims InputTemplateDelims
}
type InputTemplateDelims ¶
Click to show internal directories.
Click to hide internal directories.