Documentation ¶
Index ¶
Constants ¶
View Source
const ( HTML_TEMPLATE templateType = iota JSON_TEMPLATE XML_TEMPLATE TEXT_TEMPLATE )
View Source
const ( XML_TEMPLATE_EXTENSION = ".txml" JSON_TEMPLATE_EXTENSION = ".tjson" HTML_TEMPLATE_EXTENSION = ".thtml" TEXT_TEMPLATE_EXTENSION = ".ttxt" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HtmlTemplate ¶
type HtmlTemplate struct {
Template
}
func (*HtmlTemplate) RenderHTMLTemplate ¶
func (this *HtmlTemplate) RenderHTMLTemplate(writer *http.ResponseWriter, filepathList []string, output interface{}, errorInfo map[string][]string, useLayout bool, layoutName string) error
Click to show internal directories.
Click to hide internal directories.