...

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

Documentation: cmd/go/testdata/mod

     1example.com/cmd contains main packages.
     2
     3v1.0.0 is the latest non-retracted version. Other versions contain errors or
     4detectable problems.
     5
     6-- .info --
     7{"Version":"v1.0.0"}
     8-- .mod --
     9module example.com/cmd
    10
    11go 1.16
    12-- go.mod --
    13module example.com/cmd
    14
    15go 1.16
    16-- a/a.go --
    17package main
    18
    19import "fmt"
    20
    21func main() { fmt.Println("a@v1.0.0") }
    22-- b/b.go --
    23package main
    24
    25import "fmt"
    26
    27func main() { fmt.Println("b@v1.0.0") }
    28-- err/err.go --
    29package err
    30
    31var X = DoesNotCompile

View as plain text