1
mirror of https://gitlab.com/commento/commento.git synced 2025-06-29 10:55:40 -04:00
Files
commento/api/main.go
Adhityaa Chandrasekar 03e0b11e4e api: add version checking
2018-08-17 00:22:40 +05:30

17 lines
370 B
Go

package main
func main() {
exitIfError(loggerCreate())
exitIfError(configParse())
exitIfError(dbConnect(5))
exitIfError(migrate())
exitIfError(smtpConfigure())
exitIfError(smtpTemplatesLoad())
exitIfError(oauthConfigure())
exitIfError(markdownRendererCreate())
exitIfError(sigintCleanupSetup())
exitIfError(versionCheckStart())
exitIfError(routesServe())
}