go /
mod /
c90efee705eefc6efa975842f5e85f455b0b4639 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.
Updates golang/go#34822
Change-Id: Ic275eb6999fc0db7e72e2d9636b77c9e3d919539
Reviewed-on: https://go-review.googlesource.com/c/mod/+/205497
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
3 files changed