Closed acls closed 2 years ago
This makes it possible to prefix nested struct fields with the tag of the struct. This also fixes #107 and #168
type NestedSample struct { Inner1 InnerStruct `csv:"one"` InnerIgnore InnerStruct `csv:"-"` Inner2 InnerStruct `csv:"two"` } type InnerStruct struct { String string `csv:"string"` }
When marshaling/unmarshaling NestedSample the following headers will be used:
NestedSample
one.string,two.string
Note: This PR builds on my first PR #207.
thanks!
This makes it possible to prefix nested struct fields with the tag of the struct. This also fixes #107 and #168
When marshaling/unmarshaling
NestedSample
the following headers will be used:Note: This PR builds on my first PR #207.