Skip to content
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

Upgrade min go 1.22 with tools #163

Merged
merged 3 commits into from
Mar 14, 2025
Merged

Upgrade min go 1.22 with tools #163

merged 3 commits into from
Mar 14, 2025

Conversation

emcfarlane
Copy link
Collaborator

Upgrades the min go to v1.22 and tools buf and golangci-lint, fixing lint issues found.

Upgrades the min go to v1.22 and tools buf and golangci-lint, fixing
lint issues found.

Signed-off-by: Edward McFarlane <emcfarlane@buf.build>
Signed-off-by: Edward McFarlane <emcfarlane@buf.build>
protocol_grpc.go Outdated
return nil
}
code := uint32(code64)
Copy link
Member

Choose a reason for hiding this comment

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

Why introduce new variable and rename previous one? Seems like you could just stick with code above and elide this.

If this is to avoid a "nolint" for the type conversion on line 536, I think it'd be better with the nolint comment TBH.

Signed-off-by: Edward McFarlane <emcfarlane@buf.build>
@emcfarlane emcfarlane merged commit fb269d3 into main Mar 14, 2025
5 checks passed
@emcfarlane emcfarlane deleted the ed/upgradeTools branch March 14, 2025 21:15
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.

None yet

2 participants