From 5c26a6ff6fd178719e15decac1c8196da0d7d6d1 Mon Sep 17 00:00:00 2001 From: Cameron Moore Date: Tue, 16 May 2017 12:14:30 -0500 Subject: [PATCH] Fix Tree.ToMap godoc comment (#162) Fixes #160 --- tomltree_write.go | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/tomltree_write.go b/tomltree_write.go index 7358144..d27afc1 100644 --- a/tomltree_write.go +++ b/tomltree_write.go @@ -189,13 +189,15 @@ func (t *Tree) String() string { // ToMap recursively generates a representation of the tree using Go built-in structures. // The following types are used: -// * uint64 -// * int64 -// * bool -// * string -// * time.Time -// * map[string]interface{} (where interface{} is any of this list) -// * []interface{} (where interface{} is any of this list) +// +// * bool +// * float64 +// * int64 +// * string +// * uint64 +// * time.Time +// * map[string]interface{} (where interface{} is any of this list) +// * []interface{} (where interface{} is any of this list) func (t *Tree) ToMap() map[string]interface{} { result := map[string]interface{}{}