src/cmd/go/testdata/mod/example.net_ambiguous_v0.2.0.txt
raw| 1 | Written by hand. |
| 2 | |
| 3 | Test module containing a package that is also provided by a nested module tagged |
| 4 | with the same version. |
| 5 | |
| 6 | -- .mod -- |
| 7 | module example.net/ambiguous |
| 8 | |
| 9 | go 1.16 |
| 10 | -- .info -- |
| 11 | {"Version": "v0.2.0"} |
| 12 | -- go.mod -- |
| 13 | module example.net/ambiguous |
| 14 | |
| 15 | go 1.16 |
| 16 | -- nested/pkg/README.txt -- |
| 17 | // Package pkg no longer exists in this module at v0.2.0. |
| 18 | // Find it in module example.net/ambiguous/nested instead. |