예제 #1
0
func runApplication(config *app.Config, logger *logrus.Logger) {
	application, err := app.NewApp(config, logger)
	if err != nil {
		logger.Fatal(err.Error())
	}

	logger.Infoln("starting the application...")
	application.Run()
}