1
mirror of https://gitlab.com/commento/commento.git synced 2025-06-30 11:06:37 -04:00
Files
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())
}