commento/api/main.go
2018-06-03 14:03:24 +05:30

15 lines
311 B
Go

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