()
| 17 | } |
| 18 | |
| 19 | func (r row) csvRow() []string { |
| 20 | return append([]string{r.Browser, r.Profile}, structCSVRow(r.entry)...) |
| 21 | } |
| 22 | |
| 23 | // MarshalJSON produces flat JSON with browser/profile followed by the entry's fields. |
| 24 | // Uses reflect.StructOf to dynamically build a struct that json.Marshal handles natively, |