cuelang.org/go@v0.10.1/internal/mod/modpkgload/testdata/simple.txtar (about)

     1  -- test0/initial-requirements --
     2  main.test@v0
     3  -- test0/root-packages --
     4  main.test@v0:main
     5  -- test0/default-major-versions --
     6  -- test0/want --
     7  main.test@v0:main
     8  	flags: inAll,isRoot,fromRoot,importsLoaded
     9  	mod: main.test@v0
    10  	location: .
    11  	imports:
    12  		example.com/blah@v0
    13  example.com/blah@v0
    14  	flags: inAll,isRoot,fromRoot
    15  	error: cannot find module providing package example.com/blah@v0
    16  	missing: true
    17  -- test1/initial-requirements --
    18  main.test@v0
    19  example.com@v0.0.1
    20  -- test1/root-packages --
    21  main.test@v0:main
    22  -- test1/default-major-versions --
    23  -- test1/want --
    24  main.test@v0:main
    25  	flags: inAll,isRoot,fromRoot,importsLoaded
    26  	mod: main.test@v0
    27  	location: .
    28  	imports:
    29  		example.com/blah@v0
    30  example.com/blah@v0
    31  	flags: inAll,isRoot,fromRoot,importsLoaded
    32  	mod: example.com@v0.0.1
    33  	location: _registry/example.com_v0.0.1/blah
    34  	imports:
    35  		foo.com/bar/hello/goodbye@v0
    36  foo.com/bar/hello/goodbye@v0
    37  	flags: inAll,isRoot,fromRoot
    38  	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
    39  	missing: false
    40  -- main.cue --
    41  package main
    42  import "example.com/blah@v0"
    43  
    44  -- _registry/example.com_v0.0.1/cue.mod/module.cue --
    45  module: "example.com@v0"
    46  language: version: "v0.8.0"
    47  deps: {
    48  	"foo.com/bar/hello@v0": v: "v0.2.3"
    49  	"bar.com@v0": v: "v0.5.0"
    50  }
    51  -- _registry/example.com_v0.0.1/blah/blah.cue --
    52  package blah
    53  import _ "foo.com/bar/hello/goodbye@v0"