Documentation ¶ Index ¶ func FormatEventStream(r io.Reader, p *printer.Printer) error func FormatJSON(buf []byte, p *printer.Printer) error func FormatNDJSON(r io.Reader, p *printer.Printer) error func FormatXML(buf []byte, w *printer.Printer) error type Writer Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func FormatEventStream ¶ added in v0.6.0 func FormatEventStream(r io.Reader, p *printer.Printer) error func FormatJSON ¶ func FormatJSON(buf []byte, p *printer.Printer) error func FormatNDJSON ¶ added in v0.5.0 func FormatNDJSON(r io.Reader, p *printer.Printer) error func FormatXML ¶ func FormatXML(buf []byte, w *printer.Printer) error Types ¶ type Writer ¶ type Writer interface { io.Writer io.StringWriter } Source Files ¶ View all Source files format.gojson.gondjson.gosse.goxml.go Click to show internal directories. Click to hide internal directories.