Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTemplates ¶
Types ¶
type Template ¶
type Template struct { TemplateName string Template *template.Template AllTemplates []string Writer http.ResponseWriter }
Template handles the output of the server front template
func New ¶
func New(templateName string, templates []string, writer http.ResponseWriter) *Template
NewTemplate returns a prepared template for handling a front end call
Click to show internal directories.
Click to hide internal directories.