2025-03-30 14:03:37 +00:00
2025-03-30 15:29:43 -03:00
2025-03-30 15:29:43 -03:00
2025-03-30 15:29:43 -03:00
2025-03-30 16:58:01 -03:00
2025-03-30 15:29:43 -03:00
2025-03-30 15:29:43 -03:00

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:

To read a field at a time:

	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
        }
    }

To read the full row:

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

    for {
        row, err := gct.ReadRow(gct.Row)
        if err != nil {
            return err
        }

        err := gct.Next()
        if err == io.EOF {
            // File is over...
            break
        }
    }
Description
No description provided
Readme 40 KiB
Languages
Go 100%