我的项目中有两个依赖项。 go.mod: module github.com/test-org/test-repo go 1.12 require ( github.com/foo/bar v1.0.0 github.com/raz/mataz v1.0.0 ) 在运行go mod download之后,这两个依赖项导致需要下载github.com/shared/dependency的两个不同版本。有趣的是github.com/shared/dependency包含子模块,例如: dependency -- go.…