...

Text file src/github.com/pelletier/go-toml/marshal_OrderPreserve_test.toml

Documentation: github.com/pelletier/go-toml

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

View as plain text