Discover Packages
github.com/xo/tblfmt
csv
package
Version:
v0.4.0
Opens a new window with list of versions in this module.
Published: Mar 27, 2021
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Writer identical to "encoding/csv", but does not quote values and allows any newline.
NewWriter returns a new Writer that writes to w.
Error reports any error that has occurred during a previous Write or Flush.
Flush writes any buffered data to the underlying io.Writer.
To check if an error occurred during the Flush, call Error.
Write writes a single CSV record to w.
A record is a slice of strings with each string being one field.
Writes are buffered, so Flush must eventually be called to ensure
that the record is written to the underlying io.Writer.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.