package
module
Version:
v0.0.0-...-ea3c94a
Opens a new window with list of versions in this module.
Published: Jan 30, 2023
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func AddMoviesFromText() error
AddMoviesFromText uses the CSV parser with a string
WriteCSVBuffer returns a buffer csv for
a set of books
func WriteCSVOutput() error
WriteCSVOutput initializes a set of books
and writes the to os.Stdout
A Book has an Author and Title
Books is a named type for an array of books
ToCSV takes a set of Books and writes to an io.Writer
it returns any errors
Movie will hold our parsed CSV
ReadCSV gives shows some examples of processing CSV
that is passed in as an io.Reader
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.