github.com/megatontech/mynoteforgo@v0.0.0-20200507084910-5d0c6ea6e890/源码/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"