Skip to content

Commit

Permalink
fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
mazrean committed Jan 18, 2024
1 parent 4abb9b9 commit 9617e6c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion echo/parser_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion gin/parser_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion http/parser_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 9617e6c

Please sign in to comment.