Skip to content

Commit

Permalink
Warn about loops using range len(b) with arrays/slices (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
ckaznocha authored Sep 9, 2024
1 parent 1f5b83b commit 374bb09
Show file tree
Hide file tree
Showing 7 changed files with 559 additions and 106 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/ckaznocha/intrange

go 1.21
go 1.22

require (
github.com/gostaticanalysis/testutil v0.4.0
Expand Down
2 changes: 1 addition & 1 deletion go.work
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
go 1.22.0
go 1.22

use (
.
Expand Down
Loading

0 comments on commit 374bb09

Please sign in to comment.