36460-lazy-module-loading: relax redundant 'go.mod' loads and add another example
36460-lazy-module-loading: relax redundant 'go.mod' loads and add another example

We only need to load the full transitive dependencies of 'go 1.14'
dependencies when we are performing a deepening scan. When we're just
loading the go.mod file for redundancy, we should eliminate the
overhead of that transitive loading.

Updates golang/go#36460

Change-Id: I589d82640f7badead0f80c392109720804d2c242
Reviewed-on: https://go-review.googlesource.com/c/proposal/+/222245
Reviewed-by: Jay Conrod <f3fadaedc813344da5ec13b41e26596889cc5baa@google.com>

golang/proposal,golang/proposal