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

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