fixed flatten documentation
This commit is contained in:
parent
c7685df069
commit
ab16a9c6b1
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user