commento/api/main.go
2018-07-24 12:12:03 +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(createMarkdownRenderer())
exitIfError(setupSigintCleanup())
exitIfError(serveRoutes())
}