Documentation ¶
Index ¶
Constants ¶
View Source
const LayoutPath string = "templates/layout.html"
LayoutPath Defines the path of the layout template page
Variables ¶
View Source
var CurrentPage = ""
CurrentPage Defines the calling page rendering the template (to handle active links)
View Source
var Templates *template.Template
Templates Allows access to the template pointer from the entire application
Functions ¶
func CheckError ¶
CheckError Handles the type of error
- 0 = Info
- 1 = Warning
- 2 = Error - should be most common
- 3 = Fatal
Types ¶
Click to show internal directories.
Click to hide internal directories.