commento/api/main.go
2019-04-20 23:39:09 -04:00

23 lines
599 B
Go

package main
func main() {
exitIfError(loggerCreate())
exitIfError(versionPrint())
exitIfError(configParse())
exitIfError(dbConnect(5))
exitIfError(migrate())
exitIfError(smtpConfigure())
exitIfError(smtpTemplatesLoad())
exitIfError(oauthConfigure())
exitIfError(markdownRendererCreate())
exitIfError(emailNotificationPendingResetAll())
exitIfError(emailNotificationBegin())
exitIfError(sigintCleanupSetup())
exitIfError(versionCheckStart())
exitIfError(domainExportCleanupBegin())
exitIfError(viewsCleanupBegin())
exitIfError(ssoTokenCleanupBegin())
exitIfError(routesServe())
}