cuelang.org/go@v0.10.1/internal/mod/modpkgload/testdata/withdefaultmajorversions.txtar (about) 1 -- test0/initial-requirements -- 2 main.test@v0 example.com@v0.0.1 3 -- test0/root-packages -- 4 main.test@v0:main 5 example.com/blah 6 -- test0/default-major-versions -- 7 example.com@v0 8 -- test0/want -- 9 main.test@v0:main 10 flags: inAll,isRoot,fromRoot,importsLoaded 11 mod: main.test@v0 12 location: . 13 imports: 14 example.com/blah 15 example.com/blah 16 flags: inAll,isRoot,fromRoot,importsLoaded 17 mod: example.com@v0.0.1 18 location: _registry/example.com_v0.0.1/blah 19 imports: 20 foo.com/bar/hello/goodbye@v0 21 foo.com/bar/hello/goodbye@v0 22 flags: inAll,isRoot,fromRoot 23 error: cannot fetch foo.com/bar/hello@v0.2.3: module foo.com/bar/hello@v0.2.3 not found at _registry/foo.com_bar_hello_v0.2.3 24 missing: false 25 -- main.cue -- 26 package main 27 import "example.com/blah" 28 29 -- _registry/example.com_v0.0.1/cue.mod/module.cue -- 30 module: "example.com@v0" 31 language: version: "v0.8.0" 32 deps: { 33 "foo.com/bar/hello@v0": v: "v0.2.3" 34 "bar.com@v0": v: "v0.5.0" 35 } 36 -- _registry/example.com_v0.0.1/blah/blah.cue -- 37 package blah 38 import _ "foo.com/bar/hello/goodbye@v0"