Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PageRender ¶
type PageRender struct { Template *template.Template Data interface{} Name string // contains filtered or unexported fields }
PageRender struct for gin
func (PageRender) Render ¶
func (r PageRender) Render(w http.ResponseWriter) error
func (PageRender) WriteContentType ¶
func (r PageRender) WriteContentType(w http.ResponseWriter)
type PageTemplate ¶
type PageTemplate struct { TemplatePath string // contains filtered or unexported fields }
PageTemplate struct for gin
Click to show internal directories.
Click to hide internal directories.