chore: remove unused parameters

They were not detected by revive in function literals.
This commit is contained in:
Vincent Bernat
2024-02-08 08:30:23 +01:00
parent 4fbfda2501
commit b3a9f6ab2e
13 changed files with 17 additions and 17 deletions

View File

@@ -41,7 +41,7 @@ func TestProtectedDecodeHook(t *testing.T) {
A string
B string
}
panicHook := func(from, to reflect.Type, data interface{}) (interface{}, error) {
panicHook := func(from, _ reflect.Type, data interface{}) (interface{}, error) {
if from.Kind() == reflect.String {
panic(errors.New("noooo"))
}