Skip to content

Commit 669e389

Browse files
chore(format): auto-format code [skip ci]
1 parent 255b5aa commit 669e389

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ go 1.22.0
44

55
require (
66
github.com/fsnotify/fsnotify v1.7.0
7+
github.com/stretchr/testify v1.11.0
78
gopkg.in/yaml.v3 v3.0.1
89
)
910

1011
require (
1112
github.com/davecgh/go-spew v1.1.1 // indirect
1213
github.com/pmezard/go-difflib v1.0.0 // indirect
13-
github.com/stretchr/testify v1.11.0 // indirect
1414
golang.org/x/sys v0.4.0 // indirect
1515
)

internal/exercises/templates/16_range_built_in/range_built_in.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ func sumSlice(s []int) int {
1010

1111
func countMap(m map[string]int) int {
1212
count := 0
13-
for _, _ = range m {
13+
for range m {
1414
count++
1515
}
1616
return count

0 commit comments

Comments
 (0)