Rename unused parameters to _ to satisfy linter

This commit is contained in:
2026-01-08 02:27:45 -08:00
parent 146eeee070
commit 29adb6ee47
8 changed files with 11 additions and 11 deletions

View File

@@ -42,7 +42,7 @@ func New(lc fx.Lifecycle, params Params) (*Database, error) {
return s.connect(ctx)
},
OnStop: func(ctx context.Context) error {
OnStop: func(_ context.Context) error {
s.log.Info("Database OnStop Hook")
if s.db != nil {
return s.db.Close()