Documentation ¶
Overview ¶
Package templates contains the template loader and applier
Index ¶
- func Append(name, target string, args interface{})
- func AppendObj(name string, obj jquery.JQuery, args interface{})
- func Apply(name, target string, args interface{})
- func ApplyObj(name string, obj jquery.JQuery, args interface{})
- func ApplyString(name string, args interface{}) (string, error)
- func Load(name string) *template.Template
- func LoadAll()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Append ¶
func Append(name, target string, args interface{})
Append the template with the given name and the given args to the given object
func Apply ¶
func Apply(name, target string, args interface{})
Apply the template with the given name and the given args to the given object
func ApplyString ¶
ApplyString executes the template into a string and returns the string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.