Skip to content

Commit

Permalink
Remove Interface Call
Browse files Browse the repository at this point in the history
Signed-off-by: Mahad Zaryab <[email protected]>
  • Loading branch information
mahadzaryab1 committed Nov 16, 2024
1 parent 8ded786 commit 5d61bd5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion decode_hooks.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ func ComposeDecodeHookFunc(fs ...DecodeHookFunc) DecodeHookFunc {
}
if v, ok := data.(reflect.Value); ok {
newFrom = v
data = v.Interface()
} else {
newFrom = reflect.ValueOf(data)
}
Expand Down

0 comments on commit 5d61bd5

Please sign in to comment.