...

Text file src/cuelang.org/go/encoding/protobuf/textproto/testdata/encoder/list.txtar

Documentation: cuelang.org/go/encoding/protobuf/textproto/testdata/encoder

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

View as plain text