...

Text file src/cuelang.org/go/internal/mod/modpkgload/testdata/simple.txtar

Documentation: cuelang.org/go/internal/mod/modpkgload/testdata

     1-- test0/initial-requirements --
     2main.test@v0
     3-- test0/root-packages --
     4main.test@v0:main
     5-- test0/default-major-versions --
     6-- test0/want --
     7main.test@v0:main
     8	flags: inAll,isRoot,fromRoot,importsLoaded
     9	mod: main.test@v0
    10	location: .
    11	imports:
    12		example.com/blah@v0
    13example.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 --
    18main.test@v0
    19example.com@v0.0.1
    20-- test1/root-packages --
    21main.test@v0:main
    22-- test1/default-major-versions --
    23-- test1/want --
    24main.test@v0:main
    25	flags: inAll,isRoot,fromRoot,importsLoaded
    26	mod: main.test@v0
    27	location: .
    28	imports:
    29		example.com/blah@v0
    30example.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
    36foo.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 --
    41package main
    42import "example.com/blah@v0"
    43
    44-- _registry/example.com_v0.0.1/cue.mod/module.cue --
    45module: "example.com@v0"
    46deps: {
    47	"foo.com/bar/hello@v0": v: "v0.2.3"
    48	"bar.com@v0": v: "v0.5.0"
    49}
    50-- _registry/example.com_v0.0.1/blah/blah.cue --
    51package blah
    52import _ "foo.com/bar/hello/goodbye@v0"

View as plain text