Documentation ¶
Index ¶
Constants ¶
View Source
const ( AlertLvError = "danger" AlertLvWarning = "warning" AlertLvInfo = "info" AlertLvSuccess = "success" // AlertMsgGeneric is displayed when any random error // is encountered by our backend. AlertMsgGeneric = "Something went wrong. Please try again, and contact us if the problem persists." )
Variables ¶
View Source
var ( LayoutDir string = "views/layouts/" TemplateDir string = "views/" TemplateExt string = ".gohtml" )
Functions ¶
This section is empty.
Types ¶
type Data ¶
type Data struct { Alert *Alert Yield interface{} }
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.