Skip to content

refactor: Remove redundant github.Ptr calls#4145

Open
alexandear wants to merge 1 commit intogoogle:masterfrom
alexandear-org:refactor/redundantptr
Open

refactor: Remove redundant github.Ptr calls#4145
alexandear wants to merge 1 commit intogoogle:masterfrom
alexandear-org:refactor/redundantptr

Conversation

@alexandear
Copy link
Copy Markdown
Contributor

This PR adds redundantptr linter to detect github.Ptr(x) calls that can be replaced with simple &x.

@gmlewis gmlewis changed the title refactor: Remove redundant github.Ptr calls refactor: Remove redundant github.Ptr calls Apr 9, 2026
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 9, 2026

Codecov Report

❌ Patch coverage is 94.73684% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 93.69%. Comparing base (5124fac) to head (005c343).

Files with missing lines Patch % Lines
example/commitpr/main.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4145      +/-   ##
==========================================
- Coverage   93.74%   93.69%   -0.05%     
==========================================
  Files         211      210       -1     
  Lines       19685    18999     -686     
==========================================
- Hits        18453    17801     -652     
+ Misses       1034     1012      -22     
+ Partials      198      186      -12     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

1 participant