-
Notifications
You must be signed in to change notification settings - Fork 2.9k
fix: unexport CodecovConfig struct #40790
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
base: main
Are you sure you want to change the base?
fix: unexport CodecovConfig struct #40790
Conversation
Hi @edmocosta, @songy23, and @mwear 👋 Thanks for your earlier feedback 🙏 I’ve corrected the PR by updating only the original Please let me know if anything else needs to be improved — happy to make changes! Thanks again for your time and review! |
@@ -110,7 +110,7 @@ type ComponentManagement struct { | |||
IndividualComponents []Component `json:"individual_components"` | |||
} | |||
|
|||
type CodecovConfig struct { | |||
type codecovConfig struct { |
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.
You'll want to update the reference of it too
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
Please address comment and failing CI and mark ready for review again |
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
Description
This PR unexports the
CodecovConfig
struct fromcmd/codecovgen/main.go
by changing its name fromCodecovConfig
tocodecovConfig
.This change aligns with Go's convention of using unexported (lowercase) struct names when they are not used outside the local package. This also matches the intention described in issue #40641.
Link to tracking issue
Fixes #40641
Testing
No functional logic has been changed, so existing tests (if any) should continue to pass.
Documentation
Not applicable — this is a small internal visibility change with no impact on external documentation.