Skip to content

Commit

Permalink
feat: replaced deprecated method
Browse files Browse the repository at this point in the history
  • Loading branch information
Rocco Ciccone committed Apr 7, 2024
1 parent d8f7ec9 commit c3f9f63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion copier.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ func copier(toValue interface{}, fromValue interface{}, opt Option) (err error)
to.SetMapIndex(toKey, toValue)
break
}
elemType = reflect.PtrTo(elemType)
elemType = reflect.PointerTo(elemType)
toValue = toValue.Addr()
}
}
Expand Down

0 comments on commit c3f9f63

Please sign in to comment.