Skip to content

refactor: apply go fix modernizers from Go 1.26#11190

Merged
lidel merged 2 commits intomasterfrom
feat/go-1.26-gofix
Feb 11, 2026
Merged

refactor: apply go fix modernizers from Go 1.26#11190
lidel merged 2 commits intomasterfrom
feat/go-1.26-gofix

Conversation

@lidel
Copy link
Copy Markdown
Member

@lidel lidel commented Feb 10, 2026

This PR applies automated refactoring from go 1.26 (go fix ./...):

  • interface{} to any, slices.Contains, and other idiomatic updates.

cc @gammazero this is optional so filling as separate PR from #11189 , but I would like to do this to avoid LLM PRs that do the same

@lidel lidel requested a review from a team as a code owner February 10, 2026 22:13
@lidel lidel added the skip/changelog This change does NOT require a changelog entry label Feb 10, 2026
@lidel lidel changed the title chore: apply go fix modernizers from Go 1.26 refactor: apply go fix modernizers from Go 1.26 Feb 10, 2026
@lidel lidel force-pushed the feat/go-1.26-gofix branch from d7a0f17 to ab0c5f9 Compare February 10, 2026 22:15
@lidel lidel force-pushed the feat/go-1.26-gofix branch 2 times, most recently from 638371c to b672c4f Compare February 10, 2026 22:57
Base automatically changed from feat/go-1.26 to master February 10, 2026 23:08
automated refactoring: interface{} to any, slices.Contains,
and other idiomatic updates.
@lidel lidel force-pushed the feat/go-1.26-gofix branch from b672c4f to 40ba801 Compare February 10, 2026 23:09
ensures Go 1.26 modernizers are applied, fails CI if `go fix ./...`
produces any changes (similar to existing `go fmt` enforcement)
@lidel lidel merged commit 6a008fc into master Feb 11, 2026
24 checks passed
@lidel lidel deleted the feat/go-1.26-gofix branch February 11, 2026 00:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip/changelog This change does NOT require a changelog entry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants