Skip to content

History / CommonMistakes

Revisions

  • wiki: redirect everything to go.dev/wiki For #61940.

    @rsc rsc committed Dec 15, 2023
  • 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.

    @ihababdelkareem ihababdelkareem committed Mar 14, 2023
  • url updates to go.dev / pkg.go.dev

    @seankhliao seankhliao committed Jan 22, 2022
  • Fix indentation of goroutines on loop iterator variables example code

    @sean-ahn sean-ahn committed Aug 25, 2021
  • Revert "Updated CommonMistakes (markdown)" This reverts commit 3add8b30537cbcad428d57d755d1dae31b6d410f.

    @ianlancetaylor ianlancetaylor committed Apr 28, 2021
  • Revert "Updated CommonMistakes (markdown)" This reverts commit b378d328cacab8d0618e206132f7508490385014.

    @ianlancetaylor ianlancetaylor committed Apr 28, 2021
  • Updated CommonMistakes (markdown)

    @zqkou zqkou committed Apr 28, 2021
  • Updated CommonMistakes (markdown)

    @zqkou zqkou committed Apr 28, 2021
  • Common mistakes: Add "using reference to loop iterator variable"

    @posener posener committed Dec 21, 2019
  • Updated CommonMistakes (markdown)

    @lwalen lwalen committed Feb 12, 2019
  • Updated CommonMistakes (markdown)

    @rps rps committed Jun 14, 2018
  • Updated CommonMistakes (markdown)

    @dhanaraj0 dhanaraj0 committed Jun 13, 2018
  • Removed wrong explanation

    @dhanaraj0 dhanaraj0 committed Jun 13, 2018
  • Updated CommonMistakes (markdown)

    xiao东篱 committed May 31, 2018
  • add explanation for another similar example

    xiao东篱 committed May 31, 2018
  • Updated CommonMistakes (markdown)

    xiao东篱 committed May 31, 2018
  • Updated CommonMistakes (markdown)

    xiao东篱 committed May 31, 2018
  • Updated CommonMistakes (markdown)

    @liuml07 liuml07 committed Apr 20, 2018
  • Updated CommonMistakes (markdown)

    @vilterp vilterp committed Apr 1, 2018
  • Updated CommonMistakes (markdown)

    @vilterp vilterp committed Apr 1, 2018
  • Remove superfluous TODO and remove underscore in method name in example code

    @enocom enocom committed Nov 13, 2016
  • Added TOC

    @i-sevostyanov i-sevostyanov committed Nov 10, 2016
  • Can someone double check that code from first example really has some problems?

    @OleksiiF OleksiiF committed Dec 5, 2015
  • Add proper syntax highlighting.

    @mat mat committed Jul 7, 2015
  • Extended the CommonMistrakes wiki to cover another similar mistake case related to loops and goroutines

    @cristim cristim committed Apr 12, 2015
  • Fix formatting after import

    @okdave okdave committed Dec 10, 2014
  • Wiki data import from Google Code

    @adg adg committed Dec 10, 2014