Documentation
¶
Index ¶
Constants ¶
View Source
const ( AlertLevelError string = "danger" AlertLevelWarning string = "warning" AlertLevelInfo string = "info" AlertLevelSuccess string = "success" // AlertMessageGeneric is displayed when any random error // is encountered by our backend. AlertMessageGeneric string = "Something went wrong. Please try again, and contact us if the problem persists." )
View Source
const ( LayoutDir string = "views/layouts/" TemplateDir string = "views/" TemplateExt string = ".gohtml" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Data ¶
Data is the top level structure that views expect data to come in.
func (*Data) AlertError ¶
type PublicError ¶
Click to show internal directories.
Click to hide internal directories.