Skip to content

chore: apply fixes from Go modernize command#186

Open
blgm wants to merge 1 commit intomainfrom
modernize
Open

chore: apply fixes from Go modernize command#186
blgm wants to merge 1 commit intomainfrom
modernize

Conversation

@blgm
Copy link
Member

@blgm blgm commented Sep 8, 2025

The modernize command replaces old constructs with simpler, updated ones.

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

The modernize command replaces old constructs with simpler, updated ones.

Command is:
go run golang.org/x/tools/gopls/internal/analysis/modernize/cmd/modernize@latest -fix -test ./...
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