cuelang.org/go@v0.10.1/internal/registrytest/testdata/simple.txtar (about) 1 modfile example.com@v0.0.1 example.com_v0.0.1/cue.mod/module.cue 2 modfile foo.com/bar/hello@v0.2.3 foo.com_bar_hello_v0.2.3/cue.mod/module.cue 3 4 -- example.com_v0.0.1/cue.mod/module.cue -- 5 module: "example.com@v0" 6 language: version: "v0.8.0" 7 deps: { 8 "foo.com/bar/hello@v0": v: "v0.2.3" 9 "bar.com@v0": v: "v0.5.0" 10 } 11 -- example.com_v0.0.1/top.cue -- 12 package main 13 14 import a "foo.com/bar/hello" 15 a 16 main: "main" 17 -- foo.com_bar_hello_v0.2.3/cue.mod/module.cue -- 18 module: "foo.com/bar/hello@v0" 19 language: version: "v0.8.0" 20 21 deps: { 22 "bar.com@v0": v: "v0.0.2" 23 "baz.org@v0": v: "v0.10.1" 24 } 25 -- foo.com_bar_hello_v0.2.3/x.cue -- 26 package hello 27 import ( 28 a "bar.com" 29 b "baz.org" 30 ) 31 "foo.com/bar/hello": "v0.2.3" 32 a 33 b 34 -- bar.com_v0.0.2/cue.mod/module.cue -- 35 module: "bar.com@v0" 36 language: version: "v0.8.0" 37 38 deps: "baz.org@v0": v: "v0.1.2" 39 -- bar.com_v0.0.2/bar/x.cue -- 40 package bar 41 42 import a "baz.org/baz" 43 44 "bar.com": "v0.0.2" 45 a 46 -- baz.org_v0.10.1/cue.mod/module.cue -- 47 module: "baz.org@v0" 48 language: version: "v0.8.0" 49 -- baz.org_v0.10.1/baz.cue -- 50 "baz.org@v0": "v0.10.1" 51 52 -- baz.org_v0.1.2/cue.mod/module.cue -- 53 module: "baz.org@v0" 54 language: version: "v0.8.0" 55 56 -- bar.com_v0.5.0/cue.mod/module.cue -- 57 module: "bar.com@v0" 58 language: version: "v0.8.0" 59 -- bar.com_v0.5.0/bar.cue -- 60 "bar.com@v0": "v0.5.0"