commento/api/main.go
2018-08-17 00:22:40 +05:30

17 lines
370 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(routesServe())
}