| 1 |
Module example.com/errors is used to compare modules with errors across |
| 2 |
two versions. |
| 3 |
|
| 4 |
* Package "fixed" has type errors in v0.1.0, fixed in v0.2.0. |
| 5 |
* Package "deleted" has type errors in v0.1.0, deleted in v0.2.0. |
| 6 |
* Package "broken" is correct in v0.1.0, has type errors in v0.2.0. |
| 7 |
* Package "added" doesn't exist in v0.1.0, has type errors in v0.2.0. |
| 8 |
|
| 9 |
-- go.mod -- |
| 10 |
module example.com/errors |
| 11 |
|
| 12 |
go 1.12 |
| 13 |
-- fixed/fixed.go -- |
| 14 |
package fixed |
| 15 |
|
| 16 |
const X int = Missing |
| 17 |
|
| 18 |
-- deleted/deleted.go -- |
| 19 |
package deleted |
| 20 |
|
| 21 |
const X int = Missing |
| 22 |
|
| 23 |
-- broken/broken.go -- |
| 24 |
package broken |
| 25 |
|
| 26 |
const X int = 12 |