Text file src/cmd/go/testdata/mod/example.com_retract_self_prerelease_v1.9.0.txt

     1  Module example.com/retract/self/prerelease is a module that retracts its own
     2  latest version and all other release version.
     3  
     4  A pre-release version higher than the highest release version is still
     5  available, and that should be matched by @latest.
     6  
     7  -- .mod --
     8  module example.com/retract/self/prerelease
     9  
    10  go 1.15
    11  
    12  retract v1.0.0 // bad
    13  retract v1.9.0 // self
    14  
    15  -- .info --
    16  {"Version":"v1.9.0"}
    17  
    18  -- p.go --
    19  package p
    20  

View as plain text