Skip to content

chore: replace deprecated reflect.Ptr with reflect.Pointer - #388

Merged
dejanzele merged 1 commit into
mainfrom
chore/reflect-pointer
Sep 4, 2026
Merged

chore: replace deprecated reflect.Ptr with reflect.Pointer#388
dejanzele merged 1 commit into
mainfrom
chore/reflect-pointer

Conversation

@dejanzele

Copy link
Copy Markdown
Member

reflect.Ptr is the deprecated alias of reflect.Pointer (the same constant since Go 1.18). Newer govet versions flag it, so make lint fails locally with golangci-lint releases that support Go 1.27. This renames the one use in common_helpers.go. No behavior change.

Signed-off-by: Dejan Zele Pejchev <pejcev.dejan@gmail.com>
@dejanzele
dejanzele requested a review from richscott September 4, 2026 14:41

@richscott richscott left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, golangci-lint !

@mergify

mergify Bot commented Sep 4, 2026

Copy link
Copy Markdown

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

@dejanzele
dejanzele merged commit 363c414 into main Sep 4, 2026
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants