Documentation
¶
Overview ¶
Package writer provides functions for formatting query results.
TODO(ivanpi): Export as VDL formatter library.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriteCSV ¶
func WriteCSV(out io.Writer, columnNames []string, rs syncbase.ResultStream, delimiter string) error
WriteCSV formats the results as CSV as specified by https://tools.ietf.org/html/rfc4180.
func WriteTable ¶
WriteTable formats the results as ASCII tables.
Types ¶
Click to show internal directories.
Click to hide internal directories.