go: cleanup

 - remove outdated comment
 - remove pointless ENV cleanup
 - remove dead "allow_fail" code
 - remove superfluous parens in block arguments
 - fix indentation
go: fix test
tig 1.2

Closes #21811.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>