commento/api/main.go
Adhityaa Chandrasekar 58c011030e api: rename connectDB
2018-07-24 12:20:14 +05:30

16 lines
346 B
Go

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