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

refactor: run task through modernize tool #2088

Merged
merged 1 commit into from
Feb 24, 2025
Merged

refactor: run task through modernize tool #2088

merged 1 commit into from
Feb 24, 2025

Conversation

pd93
Copy link
Member

@pd93 pd93 commented Feb 24, 2025

gopls has a new modernize analyser built into it. The changes in this PR are the result of applying:

go run golang.org/x/tools/gopls/internal/analysis/modernize/cmd/modernize@latest -fix ./...

Only a couple of minor changes which is nice!

@vmaerten vmaerten self-requested a review February 24, 2025 11:58
@pd93 pd93 merged commit fb63190 into main Feb 24, 2025
14 checks passed
@pd93 pd93 deleted the modernize branch February 24, 2025 11:59
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