commento/api/main.go
2019-01-31 02:19:12 -05:00

19 lines
445 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(versionCheckStart())
exitIfError(domainExportCleanupBegin())
exitIfError(viewsCleanupBegin())
exitIfError(routesServe())
}