...

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

Documentation: cmd/go/testdata/script

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

View as plain text