mod=example.com/patherrors | |
base=none | |
dir=x | |
success=false | |
-- want -- | |
example.com/y/v2: module path must end with "x" or "x/v2", since it is in subdirectory "x" | |
-- .mod -- | |
module example.com/patherrors | |
-- .git/HEAD -- | |
-- x/go.mod -- | |
module example.com/y/v2 | |
go 1.12 |