mirror of
https://github.com/akvorado/akvorado.git
synced 2025-12-11 22:14:02 +01:00
chore: remove unused parameters
They were not detected by revive in function literals.
This commit is contained in:
@@ -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"))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user