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

     1  go build ./vendor/foo.com/internal/bar/a
     2  
     3  -- go.mod --
     4  module example.com/x
     5  go 1.19
     6  
     7  require "foo.com/internal/bar" v1.0.0
     8  -- vendor/modules.txt --
     9  # foo.com/internal/bar v1.0.0
    10  ## explicit
    11  foo.com/internal/bar/a
    12  -- vendor/foo.com/internal/bar/a/a.go --
    13  package a
    14  import _ "foo.com/internal/bar/b"
    15  -- vendor/foo.com/internal/bar/b/b.go --
    16  package b

View as plain text