For-Loop Semantic Changes in Go 1.22: Be Aware of the Impact
go101.org
go101.org
Now we have a new foot-gun, moving working code from a 1.22+ program to a pre-1.22 supporting library can be bugged.
Fresh refers to when the variable is apparently initialized with a value.
Yes, if the loop variables are declared in the init-statement of a loop (using := ).