# gocarina/gocsv

The GoCSV package aims to provide easy CSV serialization and deserialization to the golang programming language

Repository: https://github.com/gocarina/gocsv
Canonical: https://ross.abutalabs.com/products/gocsv
Language: Go
License: MIT
License Family: permissive
Last push: 2026-08-24T13:59:05+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 35, longevity 100
- inputs: {"age_days": 4508, "days_push": 9, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2190, forks 261 (observed 2026-08-28T04:06:23.986235+00:00)

## What it is
A Go library providing easy CSV serialization and deserialization by mapping CSV files to and from Go structs using struct tags. It supports custom converters, nested structs, and file/string marshaling APIs inspired by mgo.

## Use cases
- load csv files into go structs
- serialize go structs to csv
- parse csv records with struct tags
- write csv output from go application
- convert csv rows to typed objects
- handle custom csv column formats

## When to choose
- you need struct-based CSV binding in Go with minimal boilerplate
- you want custom marshaling/unmarshaling of CSV column values
- you need nested struct support for CSV columns

## When to avoid
- you only need raw low-level CSV reading without struct mapping
- you work outside the Go ecosystem
- you need streaming processing of extremely large CSV files beyond memory

## Facets
- artifact type: library
- maturity: active
- function: serialization, csv, parser
- domain: files, developer-tools
- platform: go, cross-platform
- tags: csv-serialization, struct-mapping, unmarshal, marshal, data-engineering

## Member repositories
- gocarina/gocsv (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:23.986235+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:47:41.387725+00:00, confidence not recorded.
  - readme: https://github.com/gocarina/gocsv (fetched 2026-08-28T04:06:23.986235+00:00, sha cf4b978f5b87)
- Data as of 2026-08-30T08:39:29.467469+00:00.
