Skip to content

lower-casing of struct name #132

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

Open
Hades32 opened this issue Apr 2, 2025 · 0 comments
Open

lower-casing of struct name #132

Hades32 opened this issue Apr 2, 2025 · 0 comments

Comments

@Hades32
Copy link

Hades32 commented Apr 2, 2025

We're using this linter via golang-ci, and seeing this:

jobmanager\http_server\public_campaigns.go:268:41: query.insertCampaignParams is missing field State (exhaustruct)
                campaign, err = q.InsertCampaign(ctx, query.InsertCampaignParams{

Notice how the actual struct name starts with a capital "I" and the error is with a lower case "i"? This broke our regex matches for including structs, since they assumed the struct name to not be changed of course

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

No branches or pull requests

1 participant