boulder icon indicating copy to clipboard operation
boulder copied to clipboard

go1.22: use integer range loops

Open aarongable opened this issue 2 years ago • 0 comments

As of go1.22, you can say

for i := range 100 {
  ...
}

This is exciting! We can change all of our for i := 0; i < 100; i++ loops.

See https://tip.golang.org/doc/go1.22 for details.

aarongable avatar Dec 20 '23 18:12 aarongable