From ab16a9c6b1656cdf2e0884b2df5fe723de9d63cc Mon Sep 17 00:00:00 2001 From: marco Date: Thu, 23 Jun 2016 00:28:15 +0200 Subject: [PATCH] fixed flatten documentation --- structs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/structs.go b/structs.go index 8426a64..1c05275 100644 --- a/structs.go +++ b/structs.go @@ -56,7 +56,7 @@ func New(s interface{}) *Struct { // in the output map. Example: // // // The FieldStruct's fields will be flattened into the output map. -// FieldStruct time.Time `structs:"flatten"` +// FieldStruct time.Time `structs:",flatten"` // // A tag value with the option of "omitnested" stops iterating further if the type // is a struct. Example: