Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Renderer ¶ added in v1.0.3
type Renderer struct {
// contains filtered or unexported fields
}
Renderer renders data via template.
func NewRenderer ¶ added in v1.0.3
NewRenderer returns Renderer. If tmplText is invalid template, it returns error.
func (*Renderer) ExecuteJSON ¶ added in v1.0.3
ExecuteJSON unmarshals data as json and applies a template to data.
Click to show internal directories.
Click to hide internal directories.