github.com/gagliardetto/golang-go@v0.0.0-20201020153340-53909ea70814/cmd/go/testdata/script/mod_get_none.txt (about)

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