chore: modernize

This commit is contained in:
andig 2026-05-01 18:03:19 +02:00
parent f332798dd0
commit 1169a3c8b9
4 changed files with 4 additions and 4 deletions

View file

@ -210,7 +210,7 @@ func DecodeOtherSliceOrMap(other, res any) error {
val := reflect.ValueOf(other)
typ := reflect.TypeOf(other)
if typ.Kind() == reflect.Ptr {
if typ.Kind() == reflect.Pointer {
typ = typ.Elem()
val = reflect.Indirect(val)
}