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

Upd/go 1.22 #2927

Merged
merged 8 commits into from
Sep 5, 2024
Merged

Upd/go 1.22 #2927

merged 8 commits into from
Sep 5, 2024

Commits on Sep 4, 2024

  1. go.mod, workflow, README: make 1.22 minimal required version

    This follows nspcc-dev/.github#31.
    
    Signed-off-by: Pavel Karpy <[email protected]>
    carpawell committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    3da8300 View commit details
    Browse the repository at this point in the history
  2. .docker: bump golang image version to the newest 1.23

    Signed-off-by: Pavel Karpy <[email protected]>
    carpawell committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    8956e74 View commit details
    Browse the repository at this point in the history
  3. *: do not copy iteration vars

    Go devs decided that it is a unique copy every iteration since go 1.22.
    
    Signed-off-by: Pavel Karpy <[email protected]>
    carpawell committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    4d16669 View commit details
    Browse the repository at this point in the history
  4. *: use range over numbers if possible

    Signed-off-by: Pavel Karpy <[email protected]>
    carpawell committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    cd542da View commit details
    Browse the repository at this point in the history
  5. .golangci.yml: add intrange linter

    Signed-off-by: Pavel Karpy <[email protected]>
    carpawell committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    43cf1b8 View commit details
    Browse the repository at this point in the history
  6. *: use slice.Concat where possible

    Closes #2738.
    
    Signed-off-by: Pavel Karpy <[email protected]>
    carpawell committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    913fc84 View commit details
    Browse the repository at this point in the history
  7. node/control/evacuate: use slices.DeleteFunc for clean up

    It uses fewer code lines.
    
    Signed-off-by: Pavel Karpy <[email protected]>
    carpawell committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    3a9e0d0 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    b44048e View commit details
    Browse the repository at this point in the history