github.com/gagliardetto/golang-go@v0.0.0-20201020153340-53909ea70814/cmd/go/testdata/script/mod_init_path.txt (about) 1 env GO111MODULE=on 2 3 ! go mod init . 4 stderr 'malformed import path' 5 6 cd x 7 go mod init example.com/x 8 9 cd ../y 10 go mod init m 11 12 -- x/main.go -- 13 package main 14 15 func main() {} 16 17 -- y/main.go -- 18 package main 19 20 func main() {}