Skip to content

Glossary: Go Basics

encoding/csv

Also written: csv.NewReader, csv.NewWriter, ReadAll, WriteAll

The standard-library package for reading and writing CSV files. `ReadAll` returns all rows as a `[][]string`, and `WriteAll` writes one back.

Where the book teaches it

Related terms

CSV (comma-separated values)