2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 10:17:17 +08:00

fix: lint

This commit is contained in:
耗子
2024-10-02 04:55:14 +08:00
parent a37393b688
commit af5e79ce37

View File

@@ -33,6 +33,8 @@ func initLogger() {
)
logger := zap.New(core)
defer logger.Sync()
defer func(logger *zap.Logger) {
_ = logger.Sync()
}(logger)
app.Logger = logger
}