commento/api/main.go

16 lines
346 B
Go
Raw Normal View History

package main
func main() {
exitIfError(loggerCreate())
exitIfError(configParse())
exitIfError(connectDB(5))
exitIfError(performMigrations())
exitIfError(smtpConfigure())
2018-06-09 17:50:01 +08:00
exitIfError(smtpTemplatesLoad())
exitIfError(oauthConfigure())
exitIfError(createMarkdownRenderer())
2018-06-03 16:33:24 +08:00
exitIfError(setupSigintCleanup())
exitIfError(serveRoutes())
}