github.com/gagliardetto/golang-go@v0.0.0-20201020153340-53909ea70814/cmd/go/testdata/script/mod_init_empty.txt (about)

     1  env GO111MODULE=on
     2  
     3  env GOPATH=$devnull
     4  
     5  go list -m
     6  stdout '^example.com$'
     7  
     8  go list
     9  stdout '^example.com$'
    10  
    11  -- go.mod --
    12  module example.com
    13  
    14  go 1.13
    15  -- main.go --
    16  package main
    17  
    18  func main() {}