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 <firstname.lastname@example.org>
TryBot-Result: Gobot Gobot <email@example.com>
Reviewed-by: Jay Conrod <firstname.lastname@example.org>
3 files changed