refactor: logger

This commit is contained in:
2025-06-11 18:35:57 +03:00
parent 77b5134857
commit 6cc41c7880
2 changed files with 26 additions and 22 deletions

View File

@@ -15,8 +15,7 @@ func main() {
}
// Setup logger
logger.InitLogger()
defer logger.GetLogger().Sync()
defer logger.Sync()
// Connect & migrate database
// models.Init()