Documentation ¶
Overview ¶
Package tmplvar provides functions to interact with template variables
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TemplateVar ¶
type TemplateVar struct {
Raw, Name, Key []byte
}
TemplateVar is the info for a parsed template variable.
func Parse ¶
func Parse(b []byte) []TemplateVar
Parse returns parsed template variables found in the input data.
func ParseString ¶
func ParseString(s string) []TemplateVar
ParseString returns parsed template variables found in the input string.
Click to show internal directories.
Click to hide internal directories.