csv
Package csv reads and writes CSV with header-row maps. Node equivalent: papaparse, csv-parse.
import "github.com/sahilkhaire/gox/csv"
Select a symbol below — each page explains what it does, shows Node.js vs Go comparisons, and includes a runnable example.
Functions
| Symbol | Node.js | Kind | Summary |
|---|---|---|---|
| ParseString | — | func | ParseString parses CSV text with a header row. |
| Read | — | func | Read parses CSV from r; the first row is used as column keys. |
| ReadAll | — | func | ReadAll reads a CSV file at path. |
| Write | — | func | Write writes rows to w using columns for field order (header row). |