...

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

Documentation: cmd/go/testdata/script

     1! go get example.com/retract/ambiguous/other
     2stderr 'ambiguous import: found package example.com/retract/ambiguous/nested in multiple modules:'
     3stderr '^go: warning: example.com/retract/ambiguous/nested@v1.9.0-bad: retracted by module author: nested modules are bad$'
     4
     5-- go.mod --
     6module example.com/use
     7
     8go 1.16
     9
    10require example.com/retract/ambiguous/nested v1.9.0-bad

View as plain text