-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix deprecated reflect.PtrTo reflect.PointerTo usage #7366
fix deprecated reflect.PtrTo reflect.PointerTo usage #7366
Conversation
@daheige can you review ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please replace all uses of PtrTo
instead of just one
…gin/fix/deprecated-reflect-pointer
…pointer Origin/fix/deprecated reflect pointer
@a631807682 I have fixed all uses of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
@jinzhu Please help to see if this mr needs to be merged. |
@jinzhu Can you please check and verify the PR ? |
What did this pull request do?
Fixed deprecated usage of
reflect.PtrTo
and replaced it withreflect.PointerTo
for slice creation.User Case Description
This fix addresses a deprecation warning related to
reflect.PtrTo
, ensuring compatibility with the latest Go versions. The change prevents potential issues with reflect-based model handling and improves maintainability.