...

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

Documentation: cmd/go/testdata/script

     1env GO111MODULE=on
     2
     3go mod init example.com/foo
     4
     5# 'go get bar@none' should be a no-op if module bar is not active.
     6go get example.com/bar@none
     7go list -m all
     8! stdout example.com/bar
     9
    10go get example.com/bar@none
    11go list -m all
    12! stdout example.com/bar

View as plain text