vendor/github.com/pelletier/go-toml/marshal_test.toml
changeset 265 05c40b36d3b2
parent 264 8f478162d991
child 266 80973a656b81
equal deleted inserted replaced
264:8f478162d991 265:05c40b36d3b2
     1 title = "TOML Marshal Testing"
       
     2 
       
     3 [basic]
       
     4   bool = true
       
     5   date = 1979-05-27T07:32:00Z
       
     6   float = 123.4
       
     7   float64 = 123.456782132399
       
     8   int = 5000
       
     9   string = "Bite me"
       
    10   uint = 5001
       
    11 
       
    12 [basic_lists]
       
    13   bools = [true,false,true]
       
    14   dates = [1979-05-27T07:32:00Z,1980-05-27T07:32:00Z]
       
    15   floats = [12.3,45.6,78.9]
       
    16   ints = [8001,8001,8002]
       
    17   strings = ["One","Two","Three"]
       
    18   uints = [5002,5003]
       
    19 
       
    20 [basic_map]
       
    21   one = "one"
       
    22   two = "two"
       
    23 
       
    24 [subdoc]
       
    25 
       
    26   [subdoc.first]
       
    27     name = "First"
       
    28 
       
    29   [subdoc.second]
       
    30     name = "Second"
       
    31 
       
    32 [[subdoclist]]
       
    33   name = "List.First"
       
    34 
       
    35 [[subdoclist]]
       
    36   name = "List.Second"
       
    37 
       
    38 [[subdocptrs]]
       
    39   name = "Second"