...

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

Documentation: cmd/go/testdata/script

     1# Test that GOPATH/pkg/mod is excluded
     2env GO111MODULE=off
     3! go list mod/foo
     4stderr 'disallowed import path'
     5
     6-- mod/foo/foo.go --
     7package foo

View as plain text