Skip to content

Apply gopls modernize fixes - #192

Merged
andrew merged 1 commit into
mainfrom
modernize-detect
Sep 20, 2026
Merged

andrew merged 1 commit into
mainfrom
modernize-detect

Conversation

@andrew

@andrew andrew commented Sep 20, 2026

Copy link
Copy Markdown
Contributor

Mechanical pass of go run golang.org/x/tools/gopls/internal/analysis/modernize/cmd/modernize@latest -fix ./... plus manual cleanup of the self-assignments it left behind.

Covers slices.Contains/ContainsFunc, WaitGroup.Go, strings.SplitSeq/FieldsSeq, strings.CutPrefix, bytes.Cut, min, and reflect.Type.Fields.

@andrew
andrew merged commit 8e75365 into main Sep 20, 2026
8 checks passed
@andrew
andrew deleted the modernize-detect branch September 20, 2026 10:51
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.

1 participant