mirror of
https://github.com/golang/go.git
synced 2025-05-05 15:43:04 +00:00
The results of running 'go list -m' are only valid as long as the current module and the modules in its replace directives do not change their go.mod files. Store the 'go.mod' versions that are used in the imports call, and reinitialize the module resolver if they change. Change-Id: Idb73c92b9e4dc243a276885e5333fafd2315134d Reviewed-on: https://go-review.googlesource.com/c/tools/+/186597 Run-TryBot: Suzy Mueller <suzmue@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org>