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

     1  -- want --
     2  x.cue "dep1" "dep2:a" "dep2:b" "dep3"
     3  z.cue
     4  y/y1.cue "dep3" "dep4"
     5  y/y2.cue
     6  y/z1.cue
     7  y/z2.cue
     8  -- want-imports --
     9  dep1
    10  dep2:a
    11  dep2:b
    12  dep3
    13  dep4
    14  -- cue.mod/module.cue --
    15  module: "example.com"
    16  
    17  -- x.cue --
    18  package example
    19  
    20  import (
    21  	"dep1"
    22  	"dep2:a"
    23  	"dep2:b"
    24  )
    25  import "dep3"
    26  
    27  x: true
    28  -- y/y1.cue --
    29  package y
    30  import (
    31  	"dep3"
    32  	"dep4"
    33  )
    34  
    35  -- y/y2.cue --
    36  package y
    37  
    38  -- y/z1.cue --
    39  package z
    40  
    41  -- y/z2.cue --
    42  package z
    43  
    44  -- z.cue --
    45  package example
    46  
    47  -- _omitted1/foo.cue --
    48  not even looked at
    49  
    50  -- .omitted2/foo.cue --
    51  not looked at either
    52  
    53  -- z/cue.mod/module.cue --
    54  module "other.com"
    55  
    56  -- z/z.cue --
    57  package z