Text file
src/cmd/go/testdata/mod/example.com_retract_rename_v1.9.0-new.txt
1 Module example.com/retract/rename is renamed in this version.
2
3 This happens frequently when a repository is renamed or when a go.mod file
4 is added for the first time with a custom module path.
5 -- .info --
6 {"Version":"v1.9.0-new"}
7 -- .mod --
8 module example.com/retract/newname
9
10 go 1.16
11
12 // bad
13 retract v1.0.0-bad
14 -- go.mod --
15 module example.com/retract/newname
16
17 go 1.16
18
19 // bad
20 retract v1.0.0-bad
21 -- newname.go --
22 package newname
23
View as plain text