...

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

Documentation: cmd/go/testdata/script

     1env GO111MODULE=off
     2! go build p
     3stderr 'must be imported as x'
     4
     5-- p/p.go --
     6package p
     7
     8import (
     9	_ "q/y"
    10	_ "q/z"
    11)
    12-- q/vendor/x/x.go --
    13package x
    14-- q/y/y.go --
    15package y
    16
    17import _ "x"
    18-- q/z/z.go --
    19package z
    20
    21import _ "q/vendor/x"

View as plain text