src/cmd/go/testdata/mod/example.com_split-incompatible_subpkg_v0.1.0.txt
raw| 1 | Written by hand. |
| 2 | Test case for getting a package that has been moved to a nested module, |
| 3 | with a +incompatible version (and thus no go.mod file) at the root module. |
| 4 | |
| 5 | -- .mod -- |
| 6 | module example.com/split-incompatible/subpkg |
| 7 | -- .info -- |
| 8 | {"Version": "v0.1.0"} |
| 9 | -- go.mod -- |
| 10 | module example.com/split-incompatible/subpkg |
| 11 | |
| 12 | go 1.16 |
| 13 | -- subpkg.go -- |
| 14 | package subpkg |