*: modernize codebase with newer syntax / helpers (#4110)

Changes came from running
https://pkg.go.dev/golang.org/x/tools/gopls/internal/analysis/modernize
on the codebase.
This commit is contained in:
Derek Parker
2025-08-29 09:50:08 -04:00
committed by GitHub
parent 95e13db069
commit 61573cffb3
53 changed files with 231 additions and 290 deletions

View File

@ -56,7 +56,7 @@ func TestIssue419(t *testing.T) {
errChan <- grp.Continue()
})
for i := 0; i < 2; i++ {
for range 2 {
err := <-errChan
t.Logf("error %T %#v\n", err, err)