Merge pull request 'feature/toggle' (#10) from feature/toggle into main

Reviewed-on: https://git.altru.id/Furtuna/furtuna-backend/pulls/10
This commit is contained in:
2024-08-10 16:54:16 +00:00
12 changed files with 69 additions and 29 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ func NewPostgres(c config.Database) (*gorm.DB, error) {
zapCfg := zap.NewProductionConfig()
zapCfg.Level = zap.NewAtomicLevelAt(zap.DebugLevel) // whatever minimum level
zapCfg.DisableCaller = true
zapCfg.DisableCaller = false
// logger, _ := zapCfg.Build()
// db = gorm.Open(sqldblogger.New(logger), db)