commento/api/main.go
2018-07-24 12:11:01 +05:30

16 lines
346 B
Go

package main
func main() {
exitIfError(createLogger())
exitIfError(configParse())
exitIfError(connectDB(5))
exitIfError(performMigrations())
exitIfError(smtpConfigure())
exitIfError(smtpTemplatesLoad())
exitIfError(oauthConfigure())
exitIfError(createMarkdownRenderer())
exitIfError(setupSigintCleanup())
exitIfError(serveRoutes())
}