Versions in this module Expand all Collapse all v0 v0.0.3 Oct 10, 2022 v0.0.2 Oct 10, 2022 Changes in this version + type CSVWriter struct + HeaderStyle KeyStyle + Transpose bool + func NewCSVWriter(w io.Writer) *CSVWriter + func NewCSVWriterWithHeaderStyle(w io.Writer, style KeyStyle) *CSVWriter + func (w *CSVWriter) WriteCSV(results []KeyValue) error + type KeyStyle uint + const DotBracketStyle + const DotNotationStyle + const JSONPointerStyle + const None + const SlashStyle + type KeyValue map[string]interface + func (kv KeyValue) Keys() []string + func JSON2CSV(data interface{}) ([]KeyValue, error)