☰
Debian Codegraph
@
1.26.8-1
1.26.7-1
/
/
src
/
cmd
/
go
/
testdata
/
script
/
mod_init_path.txt
☽
☼
src/cmd/go/testdata/script/mod_init_path.txt
code
plain
raw
Go
© 2009, 2010, The Go Authors. All rights reserved.
debian/copyright
1
env GO111MODULE=on
2
3
! go mod init .
4
stderr '^go: malformed module path ".": is a local 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() {}