Merge pull request #63 from webguerilla/2016.06.23-doc_fix

Fixed flatten documentation
This commit is contained in:
Fatih Arslan 2016-06-23 01:35:22 +03:00 committed by GitHub
commit bfcf7eedca

View File

@ -56,7 +56,7 @@ func New(s interface{}) *Struct {
// in the output map. Example: // in the output map. Example:
// //
// // The FieldStruct's fields will be flattened into the output map. // // 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 // A tag value with the option of "omitnested" stops iterating further if the type
// is a struct. Example: // is a struct. Example: