From 58b177a8c092ac219542e6ccf41e1bcdd638e561 Mon Sep 17 00:00:00 2001 From: Mark Sagi-Kazar Date: Tue, 12 Sep 2023 00:53:34 +0200 Subject: [PATCH] fix: lint violations Signed-off-by: Mark Sagi-Kazar --- logger.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/logger.go b/logger.go index db3998f..ba09761 100644 --- a/logger.go +++ b/logger.go @@ -59,10 +59,10 @@ func (n *discardHandler) Handle(_ context.Context, _ slog.Record) error { return nil } -func (n *discardHandler) WithAttrs(attrs []slog.Attr) slog.Handler { +func (n *discardHandler) WithAttrs(_ []slog.Attr) slog.Handler { return n } -func (n *discardHandler) WithGroup(name string) slog.Handler { +func (n *discardHandler) WithGroup(_ string) slog.Handler { return n }