Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DataToContext ¶
func WriteContentType ¶
func WriteContentType(w http.ResponseWriter, value []string)
--------------------------------------------------------------------------------
Types ¶
type Render ¶
func (*Render) HTML ¶
func (this *Render) HTML(w http.ResponseWriter, status int, name string, data interface{})
func (*Render) TemplateFromString ¶
type Template ¶
type Template struct {
// contains filtered or unexported fields
}
--------------------------------------------------------------------------------
func (*Template) ExecuteWriter ¶
func (this *Template) ExecuteWriter(w http.ResponseWriter, data interface{}) (err error)
Click to show internal directories.
Click to hide internal directories.