We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
wiki: redirect everything to go.dev/wiki For #61940.
The current state of the documentation might be confusing as the address of the first copied variable (i) matches the address of the loop variable (i) in the previous example. This may cause confusion into thinking that the first copy of (i) takes the same address as the loop variable, which is not the case.
url updates to go.dev / pkg.go.dev
Fix indentation of goroutines on loop iterator variables example code
Revert "Updated CommonMistakes (markdown)" This reverts commit 3add8b30537cbcad428d57d755d1dae31b6d410f.
Revert "Updated CommonMistakes (markdown)" This reverts commit b378d328cacab8d0618e206132f7508490385014.
Updated CommonMistakes (markdown)
Common mistakes: Add "using reference to loop iterator variable"
Removed wrong explanation
add explanation for another similar example
Remove superfluous TODO and remove underscore in method name in example code
Added TOC
Can someone double check that code from first example really has some problems?
Add proper syntax highlighting.
Extended the CommonMistrakes wiki to cover another similar mistake case related to loops and goroutines
Fix formatting after import
Wiki data import from Google Code