Skip to content

Commit

Permalink
Update Golang 新手可能会踩的 50 个坑.md
Browse files Browse the repository at this point in the history
index shoud start from zero
  • Loading branch information
nathan-tw authored Aug 17, 2021
1 parent 6c74555 commit 8fdc34f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Golang 新手可能会踩的 50 个坑.md
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ func main() {
func main() {
x := []string{"a", "b", "c"}
for v := range x {
fmt.Println(v) // 1 2 3
fmt.Println(v) // 0 1 2
}
}

Expand Down

0 comments on commit 8fdc34f

Please sign in to comment.