commento/api/main.go

16 lines
336 B
Go
Raw Normal View History

package main
func main() {
exitIfError(loggerCreate())
exitIfError(configParse())
2018-07-24 14:50:14 +08:00
exitIfError(dbConnect(5))
exitIfError(migrate())
exitIfError(smtpConfigure())
2018-06-09 17:50:01 +08:00
exitIfError(smtpTemplatesLoad())
exitIfError(oauthConfigure())
2018-07-24 14:43:23 +08:00
exitIfError(markdownRendererCreate())
2018-07-24 14:44:25 +08:00
exitIfError(sigintCleanupSetup())
2018-07-24 14:45:25 +08:00
exitIfError(routesServe())
}