News for hackers. Stuff that matters.
Re:Fixing for Loops in Go 1.22 by continuitylimit on Wednesday September 20, 2023 @09:44AM (#37584019)

    // FIXME: this apparently needs to be “fixed” ..
    for _, v := range intvals {
        go func(v0 int) {
             fmt.Printf(“v:%v v0:%v\n”, v, v0)
        }(v)
    }

There are no comments on this comment yet.