modfile: prefer to add a new 'go' directive after the 'module' directive
The previous behavior put the new 'go' directive at the end of the
file, which is not where anybody actually puts it, and that in turn
complicates the regression tests for golang/go#34822.
Run-TryBot: Bryan C. Mills <email@example.com>
TryBot-Result: Gobot Gobot <firstname.lastname@example.org>
Reviewed-by: Jay Conrod <email@example.com>
3 files changed