cuelang.org/go@v0.10.1/encoding/protobuf/textproto/testdata/encoder/list.txtar (about)

     1  -- value.cue --
     2  // List comment
     3  intList: [ 1, 2, 3]
     4  
     5  structList: [{
     6  	foo: 1
     7  	bar: 2
     8  }, {
     9  	foo: 3
    10  	bar: 4
    11  }]
    12  -- out/encode --
    13  # List comment
    14  intList: 1
    15  intList: 2
    16  intList: 3
    17  structList: {
    18    foo: 1
    19    bar: 2
    20  }
    21  structList: {
    22    foo: 3
    23    bar: 4
    24  }