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

     1  # Module paths that are domain roots should resolve.
     2  # (example.com not example.com/something)
     3  
     4  env GO111MODULE=on
     5  go get
     6  
     7  -- go.mod --
     8  module x
     9  
    10  -- x.go --
    11  package x
    12  import _ "example.com"
    13  

View as plain text