commento/api/main.go

15 lines
311 B
Go
Raw Normal View History

package main
func main() {
exitIfError(createLogger())
exitIfError(parseConfig())
exitIfError(connectDB())
exitIfError(performMigrations())
exitIfError(smtpConfigure())
exitIfError(oauthConfigure())
exitIfError(createMarkdownRenderer())
2018-06-03 16:33:24 +08:00
exitIfError(setupSigintCleanup())
exitIfError(serveRoutes())
}