Documentation ¶
Index ¶
- func Execute(tmpl *template.Template, data interface{}) (string, error)
- func GetTemplate(baseFileName, templateFileName string) *template.Template
- func GetTextTemplate(name string, rawText string) (*template.Template, error)
- func Render(ctx context.Context, tmpl *template.Template, w io.Writer, data interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTemplate ¶
func GetTextTemplate ¶ added in v0.20.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.