Skip to content

lint: run modernize slicescontains,sortslice,stringscutprefix#6433

Merged
cce merged 2 commits intoalgorand:masterfrom
cce:modernize-slicescontains
Sep 4, 2025
Merged

lint: run modernize slicescontains,sortslice,stringscutprefix#6433
cce merged 2 commits intoalgorand:masterfrom
cce:modernize-slicescontains

Conversation

@cce
Copy link
Copy Markdown
Contributor

@cce cce commented Sep 4, 2025

Summary

This runs the official golang tool modernize with the slicescontains, sortslice, and stringscutprefix fixes.

Test Plan

Existing tests should pass

@cce cce changed the title lint: run modernize -category=slicescontains -fix -test ./... lint: run modernize -category=slicescontains,sortslice,stringscutprefix -fix -test ./... Sep 4, 2025
@cce cce changed the title lint: run modernize -category=slicescontains,sortslice,stringscutprefix -fix -test ./... lint: run modernize slicescontains,sortslice,stringscutprefix Sep 4, 2025
@cce cce merged commit 704f501 into algorand:master Sep 4, 2025
42 checks passed
@cce cce deleted the modernize-slicescontains branch September 4, 2025 23:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants