...

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

Documentation: cmd/go/testdata/script

     1cd mod
     2go list -e -json=ImportPath,Error ./foo
     3stdout '"Err": "no Go files in .*(/|\\\\)src(/|\\\\)mod(/|\\\\)foo"'
     4
     5-- mod/go.mod --
     6module example.com/foo
     7
     8go 1.21
     9-- mod/foo/README.md --
    10empty

View as plain text