1
mirror of https://gitlab.com/commento/commento.git synced 2025-04-29 06:50:28 -04:00
commento/api/main.go

16 lines
346 B
Go

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