commento/api/main.go
2018-07-24 12:21:59 +05:30

16 lines
336 B
Go

package main
func main() {
exitIfError(loggerCreate())
exitIfError(configParse())
exitIfError(dbConnect(5))
exitIfError(migrate())
exitIfError(smtpConfigure())
exitIfError(smtpTemplatesLoad())
exitIfError(oauthConfigure())
exitIfError(markdownRendererCreate())
exitIfError(sigintCleanupSetup())
exitIfError(routesServe())
}