...

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

Documentation: cmd/go/testdata/mod

     1example.com/depends/on/generics v1.0.0
     2written by hand
     3
     4-- .mod --
     5module example.com/depends/on/generics
     6
     7go 1.18
     8
     9require example.com/generics v1.0.0
    10-- .info --
    11{"Version":"v1.0.0"}
    12-- go.mod --
    13module example.com/depends/on/generics
    14
    15go 1.18
    16
    17require example.com/generics v1.0.0
    18-- main.go --
    19package main
    20
    21import "example.com/generics"
    22
    23func main() {generics.Bar()}

View as plain text