go-csv-table/README.md
2025-03-30 15:29:43 -03:00

559 B

go-csv-table

This module reads a RTF and let you get the information per field or column.

PLEASE NOTE: the entire CSV fill be read to the memory at once!

Example:

	gct := GoCSVtable{}
	gct.OpenCSV("file.csv")

    for {
        name, err := gct.Read("Name")
        if err != nil {
            return err
        }

        surname, err := gct.Read("Surname")
        if err != nil {
            return err
        }

        err := gct.Next()
        if err == io.EOF {
            // File is over...
            break
        }
    }