Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Template ¶
type Template interface { Execute(wr io.Writer, data interface{}) error ExecuteTemplate(wr io.Writer, name string, data interface{}) error }
Template is an interface description for "text/template".
func MustTemplate ¶
MustTemplate returns a new template and panics if the provided template format is invalid.
Click to show internal directories.
Click to hide internal directories.