]> Cypherpunks repositories - gostls13.git/commit
cmd/go/internal/modfile: don't use cmd/internal/diff
authorJay Conrod <jayconrod@google.com>
Tue, 29 Oct 2019 19:25:22 +0000 (15:25 -0400)
committerJay Conrod <jayconrod@google.com>
Tue, 29 Oct 2019 19:41:46 +0000 (19:41 +0000)
commit9f93fd225ffbafa2194303334b38c7db9ded3800
tree7d7f5308108becf262699c900e05adfed91b1f8f
parent07b72d91894a14c3bded9ba985d337705ccc71bb
cmd/go/internal/modfile: don't use cmd/internal/diff

This is a partial revert of CL 203218.

cmd/go/internal/modfile is about to be deleted and replaced with
golang.org/x/mod/modfile in CL 202698. cmd/internal/diff is not
visible from golang.org/x/mod/modfile, and it doesn't make sense to
extract it into a new package there.

Updates #31761

Change-Id: I3bbbc4cae81120020e1092c1138524729530b415
Reviewed-on: https://go-review.googlesource.com/c/go/+/204103
Run-TryBot: Jay Conrod <jayconrod@google.com>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
src/cmd/go/internal/modfile/read_test.go