Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadAdminTemplate ¶
LoadAdminTemplate loads the admin templates for the view
func LoadTemplate ¶
LoadTemplate loads the templates fro the view
Types ¶
type View ¶
type View struct { Extension string `json:"extension"` Folder string `json:"folder"` Name string `json:"name"` Caching bool `json:"caching"` Template Template `json:"template"` Vars map[string]interface{} // contains filtered or unexported fields }
View struct
func (*View) Render ¶
func (v *View) Render(w http.ResponseWriter)
Render renders a template to the writer
Click to show internal directories.
Click to hide internal directories.