Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TemplateString ¶
type TemplateString string
TemplateString is a compilable string with text/template package
func (TemplateString) Compile ¶
func (s TemplateString) Compile(v interface{}) (string, error)
Compile generates textual output applied a parsed template to the specified values
Click to show internal directories.
Click to hide internal directories.