commento/api/main.go
2018-07-24 12:14:25 +05:30

16 lines
346 B
Go

package main
func main() {
exitIfError(loggerCreate())
exitIfError(configParse())
exitIfError(connectDB(5))
exitIfError(performMigrations())
exitIfError(smtpConfigure())
exitIfError(smtpTemplatesLoad())
exitIfError(oauthConfigure())
exitIfError(markdownRendererCreate())
exitIfError(sigintCleanupSetup())
exitIfError(serveRoutes())
}