| mod=example.com/tidy |
| base=none |
| success=false |
| -- go.mod -- |
| module example.com/tidy |
| |
| go 1.12 |
| |
| require ( |
| example.com/tidy/a v0.1.0 // actually transitively requires v0.2.0 |
| example.com/tidy/b v0.1.0 |
| ) |
| -- go.sum -- |
| example.com/tidy/a v0.1.0 h1:hxFAdyLfJ6TV25ffYI2oA+g3ffLp+XJgo6lrVkT8ufU= |
| example.com/tidy/a v0.1.0/go.mod h1:/KTGkbP1cnyJLO5kGL/QSCswh5I8R66epCmEAxgAK+I= |
| example.com/tidy/b v0.1.0/go.mod h1:92saqyRYqaI4eqrr6LGMnPfBDXc2yofWznwSxsvqfEw= |
| example.com/tidy/b v0.2.0 h1:dSh97fZcMRg87GDb1Gqwy8/mebsrmE4kX3S7d+KeSZU= |
| example.com/tidy/b v0.2.0/go.mod h1:92saqyRYqaI4eqrr6LGMnPfBDXc2yofWznwSxsvqfEw= |
| -- tidy.go -- |
| package tidy |
| |
| import _ "example.com/tidy/a" |
| import _ "example.com/tidy/b" |
| -- want -- |
| go.mod: the following requirements are needed |
| example.com/tidy/b@v0.2.0 |
| Run 'go mod tidy' to add missing requirements. |