Thomas Pelletier
5ccdfb18c7
Write empty tables as well ( #169 )
...
Empty tables are allowed by the spec, so they should not be removed:
[[empty-tables]]
[[empty-tables]]
is perfectly valid.
Fixes #163
2017-05-30 18:35:27 -07:00
Thomas Pelletier
685a1f1cb7
Rename TomlTree to Tree ( #159 )
...
Avoid stutter.
Fixes #55
2017-05-10 17:53:23 -07:00
Thomas Pelletier
f6e7596e8d
Reflect actual slice type in TreeFromMap ( #145 )
...
* Reflect actual slice type in TreeFromMap
* Fix writeTo for slices tomlValues
Fixes #143
2017-03-23 11:20:46 +01:00
Thomas Pelletier
fee7787d3f
Rework tree from map ( #139 )
...
* Make TreeFromMap reflect to construct tree
* Fix wording of invalid value type in writeTo
Fixes #138 , #139 , #134
⚠️ TreeFromMap signature changed to `TreeFromMap(map[string]interface{}) (*TomlTree, error)`
2017-03-14 13:16:40 -07:00
Thomas Pelletier
7e6e4b1314
Rewrite TomlTree encoding ( #133 )
...
* Rewrite `TomlTree` encoding
* Introduce `TomlTree.WriteTo`
2017-03-02 09:17:06 -08:00