We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7685df commit ab16a9cCopy full SHA for ab16a9c
structs.go
@@ -56,7 +56,7 @@ func New(s interface{}) *Struct {
56
// in the output map. Example:
57
//
58
// // The FieldStruct's fields will be flattened into the output map.
59
-// FieldStruct time.Time `structs:"flatten"`
+// FieldStruct time.Time `structs:",flatten"`
60
61
// A tag value with the option of "omitnested" stops iterating further if the type
62
// is a struct. Example:
0 commit comments