Go finally fixed the language to make https://github.com/getgrit/stdlib/blob/main/.grit/patterns/go/exported_loop_pointer.md unnecessary--see https://go.dev/blog/loopvar-preview. So assuming go.mod is >= 1.22, probably the right fix is to find and remove all x := x instances. :)
Not sure whether GritQL supports conditioning on the go.mod version.