Text file src/cmd/go/testdata/mod/example.net_ambiguous_nested_v0.1.0.txt

     1  Written by hand.
     2  
     3  Test module containing a package that is also provided by a nested module tagged
     4  with the same version.
     5  
     6  -- .mod --
     7  module example.net/ambiguous/nested
     8  
     9  go 1.16
    10  -- .info --
    11  {"Version": "v0.1.0"}
    12  -- go.mod --
    13  module example.net/ambiguous/nested
    14  
    15  go 1.16
    16  -- pkg/pkg.go --
    17  // Package pkg exists in both example.net/ambiguous v0.1.0
    18  // and example.net/ambiguous/nested v0.1.0
    19  package pkg
    20  

View as plain text