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

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

View as plain text