From 9617e6c5b7c68a5d54800f212654d69cd1dff248 Mon Sep 17 00:00:00 2001 From: mazrean Date: Thu, 18 Jan 2024 18:45:49 +0900 Subject: [PATCH] fix lint error --- echo/parser_test.go | 2 +- gin/parser_test.go | 2 +- http/parser_test.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/echo/parser_test.go b/echo/parser_test.go index 989e6b6..c4f939a 100644 --- a/echo/parser_test.go +++ b/echo/parser_test.go @@ -86,7 +86,7 @@ var ( }{} ) -func saveUser(ctx context.Context, name string, password string, iconReader io.Reader) error { +func saveUser(_ context.Context, name string, password string, iconReader io.Reader) error { user.name = name user.password = password diff --git a/gin/parser_test.go b/gin/parser_test.go index 4acd7ef..e528796 100644 --- a/gin/parser_test.go +++ b/gin/parser_test.go @@ -92,7 +92,7 @@ var ( }{} ) -func saveUser(ctx context.Context, name string, password string, iconReader io.Reader) error { +func saveUser(_ context.Context, name string, password string, iconReader io.Reader) error { user.name = name user.password = password diff --git a/http/parser_test.go b/http/parser_test.go index 1674dfb..6e1476e 100644 --- a/http/parser_test.go +++ b/http/parser_test.go @@ -88,7 +88,7 @@ var ( }{} ) -func saveUser(ctx context.Context, name string, password string, iconReader io.Reader) error { +func saveUser(_ context.Context, name string, password string, iconReader io.Reader) error { user.name = name user.password = password