commento/api/main.go
2018-06-09 15:49:54 +05:30

16 lines
345 B
Go

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