Skip to content

Conversation

@dfinkel
Copy link
Contributor

@dfinkel dfinkel commented Sep 12, 2025

  • run x/tools/...modernize
    Make gopls's modernization checks happy by running
    golang.org/x/tools/gopls/internal/analysis/modernize/cmd/modernize on
    the whole codebase.

  • x/tools/.../gofix across the repo
    go run golang.org/x/tools/internal/gofix/cmd/gofix@latest -fix -test ./...

    inline all the deprecated stdlib things.

  • Add go 1.25 to the github actions test-matrix and upgrade the setup-go and checkout steps

Make gopls's modernization checks happy by running
golang.org/x/tools/gopls/internal/analysis/modernize/cmd/modernize on
the whole codebase.
go run golang.org/x/tools/internal/gofix/cmd/gofix@latest -fix -test ./...

inline all the deprecated stdlib things.
Upgrade setup-go and checkout to the latest versions and add go 1.25 to
the test matrix.
@dfinkel dfinkel merged commit f5bc6a2 into master Sep 12, 2025
6 checks passed
@dfinkel dfinkel deleted the go-modernize_2025-09 branch September 12, 2025 17:31
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.

3 participants