...

Text file src/cmd/go/testdata/script/mod_init_empty.txt

Documentation: cmd/go/testdata/script

     1env GO111MODULE=on
     2
     3env GOPATH=$WORK${/}invalid-gopath
     4
     5go list -m
     6stdout '^example.com$'
     7
     8go list
     9stdout '^example.com$'
    10
    11-- go.mod --
    12module example.com
    13
    14go 1.13
    15-- main.go --
    16package main
    17
    18func main() {}
    19
    20-- $WORK/invalid-gopath
    21This is a text file, not a directory.

View as plain text