...

Text file src/cmd/go/testdata/mod/example.com_retract_rename_v1.9.0-new.txt

Documentation: cmd/go/testdata/mod

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

View as plain text