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

update go:build tags to use go1.22 #5608

Merged
merged 1 commit into from
Nov 12, 2024

Commits on Nov 12, 2024

  1. update go:build tags to use go1.22

    commit 4a7b04d configured golangci-lint
    to use go1.23 semantics, which enabled the copyloopvar linter.
    
    go1.22 now creates a copy of variables when assigned in a loop; make sure we
    don't have files that may downgrade semantics to go1.21 in case that also means
    disabling that feature; https://go.dev/ref/spec#Go_1.22
    
    Signed-off-by: Sebastiaan van Stijn <[email protected]>
    thaJeztah committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    7c80e4f View commit details
    Browse the repository at this point in the history