mod=example.com/tidy base=v0.0.1 success=false -- want -- # example.com/tidy/subdir ## compatible changes package added # diagnostics go.mod: the following requirements are needed example.com/basic@v1.1.2 Run 'go mod tidy' to add missing requirements. # summary Suggested version: v0.1.0 -- go.mod -- module example.com/tidy go 1.12 -- tidy.go -- package tidy -- subdir/tidy.go -- package subpkg import _ "example.com/basic/a"