You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a mess, and go mod tidy may not be able to remove unused lines (it happened to me after a go get -u but I'm not sure if I did things correctly).
Thanks.
The text was updated successfully, but these errors were encountered:
The lazy-loading proposal in #36460 would generally reduce your go.sum file to only one version of each module. (Without some form of lazy loading, every go.mod file in your transitive dependencies, regardless of whether its version is ultimately selected, influences the minimum version requirements.)
In the interim, I don't think it is feasible to try to synchronize all of the x repos. That would be a lot of toil for very little benefit (a few checksums and a few extra downloaded go.mod files, but note that you generally will not download source code for modules older than the selected version).
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I have a module that requires the
golang.org/x/mod
andgolang.org/x/errors
modules.What did you expect to see?
The
go.sum
file to only have one version of each module.What did you see instead?
This is a mess, and
go mod tidy
may not be able to remove unused lines (it happened to me after ago get -u
but I'm not sure if I did things correctly).Thanks.
The text was updated successfully, but these errors were encountered: