CommonMistakes
Russ Cox edited this page 2023-12-14 22:14:45 -05:00

Wiki Page Revisions

27 Commits

Author SHA1 Message Date
Russ Cox
b0657ab84c wiki: redirect everything to go.dev/wiki
For #61940.
2023-12-14 22:14:45 -05:00
Ihab Abdelkareem
747b4f22e8 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. 2023-03-14 22:31:21 +00:00
Sean Liao
3c9c9e1ade url updates to go.dev / pkg.go.dev 2022-01-22 17:27:16 +01:00
Seokchan Ahn
46f073bcc1 Fix indentation of goroutines on loop iterator variables example code 2021-08-25 15:01:22 +09:00
Ian Lance Taylor
42f13c0dd2 Revert "Updated CommonMistakes (markdown)"
This reverts commit 3add8b30537cbcad428d57d755d1dae31b6d410f.
2021-04-27 22:00:55 -07:00
Ian Lance Taylor
19f62bc9a8 Revert "Updated CommonMistakes (markdown)"
This reverts commit b378d328cacab8d0618e206132f7508490385014.
2021-04-27 22:00:44 -07:00
zqkou
b378d328ca Updated CommonMistakes (markdown) 2021-04-28 09:52:49 +08:00
zqkou
3add8b3053 Updated CommonMistakes (markdown) 2021-04-28 09:52:31 +08:00
Eyal Posener
e6ad5632aa Common mistakes: Add "using reference to loop iterator variable" 2019-12-21 10:54:07 +02:00
Lars Walen
f3e1944cb6 Updated CommonMistakes (markdown) 2019-02-12 15:08:10 -08:00
Rich Parrish
b1ebeff743 Updated CommonMistakes (markdown) 2018-06-14 10:55:55 -07:00
DhanaRaj Durairaj
f130e7622b Updated CommonMistakes (markdown) 2018-06-13 19:52:38 +05:30
DhanaRaj Durairaj
aeb2c5cc2a Removed wrong explanation 2018-06-13 19:52:01 +05:30
xiao东篱
a8cb3d6ab0 Updated CommonMistakes (markdown) 2018-05-31 19:46:59 +08:00
xiao东篱
ebb612f1d7 add explanation for another similar example 2018-05-31 19:45:58 +08:00
xiao东篱
f07727c790 Updated CommonMistakes (markdown) 2018-05-31 17:53:45 +08:00
xiao东篱
7eb40212bf Updated CommonMistakes (markdown) 2018-05-31 17:49:22 +08:00
Mingliang Liu
88d63a97c0 Updated CommonMistakes (markdown) 2018-04-19 20:53:41 -07:00
Pete Vilter
1b5ef1700c Updated CommonMistakes (markdown) 2018-04-01 19:49:29 -04:00
Pete Vilter
19ac262ac5 Updated CommonMistakes (markdown) 2018-04-01 19:43:48 -04:00
Eno Compton
6cf536bfdf Remove superfluous TODO and remove underscore in method name in example code 2016-11-13 11:26:27 -07:00
Ilya Sevostyanov
c289dec129 Added TOC 2016-11-10 14:04:40 +03:00
oleksiif
917f086adf Can someone double check that code from first example really has some problems? 2015-12-05 12:04:43 +07:00
Matthias Lüdtke
8c2cac458f Add proper syntax highlighting. 2015-07-07 18:51:23 +02:00
Cristian Măgherușan-Stanciu @magheru_san
05efe8e5dc Extended the CommonMistrakes wiki to cover another similar mistake case related to loops and goroutines 2015-04-12 15:34:34 +02:00
Dave Day
0d6986a1f7 Fix formatting after import 2014-12-10 15:02:18 +11:00
Andrew Gerrand
5bc444d13c Wiki data import from Google Code 2014-12-10 11:35:11 +11:00