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