aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/go/testdata/script/mod_domain_root.txt
blob: e34cc29fa6418e2cd3e98cd0d6cca52ba20d432b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# Module paths that are domain roots should resolve.
# (example.com not example.com/something)

env GO111MODULE=on
go build

-- go.mod --
module x

-- x.go --
package x
import _ "example.com"