A common alternative fix is to use IIFE, since the expression must be a call.
`go` evaluates everything but the final function call in the context of the caller. So
go func (x int) { … } (x)
Will do the same, and is easier to extract to a named function.