Text file src/cmd/go/testdata/mod/example.com_generics_v1.0.0.txt

     1  example.com/generics v1.0.0
     2  written by hand
     3  
     4  -- .mod --
     5  module example.com/generics
     6  
     7  go 1.18
     8  -- .info --
     9  {"Version":"v1.0.0"}
    10  -- go.mod --
    11  module example.com/generics
    12  
    13  go 1.18
    14  -- generics.go --
    15  package generics
    16  
    17  type Int interface {
    18  	~int
    19  }
    20  
    21  func Bar() {}

View as plain text