{"id":47681001,"url":"https://github.com/cego/go-csv","last_synced_at":"2026-04-02T13:59:30.376Z","repository":{"id":57510677,"uuid":"145555483","full_name":"cego/go-csv","owner":"cego","description":"Golang package for parsing CSV","archived":false,"fork":false,"pushed_at":"2018-08-23T12:04:21.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-08-15T04:55:57.310Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cego.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-08-21T11:37:51.000Z","updated_at":"2018-08-23T12:04:22.000Z","dependencies_parsed_at":"2022-09-26T17:50:56.463Z","dependency_job_id":null,"html_url":"https://github.com/cego/go-csv","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cego/go-csv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cego%2Fgo-csv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cego%2Fgo-csv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cego%2Fgo-csv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cego%2Fgo-csv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cego","download_url":"https://codeload.github.com/cego/go-csv/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cego%2Fgo-csv/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31307435,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T12:59:32.332Z","status":"ssl_error","status_checked_at":"2026-04-02T12:54:48.875Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-04-02T13:59:29.583Z","updated_at":"2026-04-02T13:59:30.370Z","avatar_url":"https://github.com/cego.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"Golang package for reading and writing CSV data\n===============================================\n\nGolang package for reading and writing CSV data as described in [RFC 4180](https://tools.ietf.org/html/rfc4180).\n\nIs was written as a replacement of the stdlib package encoding/csv in cases where that interpretation of the RFC is\nlacking. Specifically, we want to preserve carriage returns inside fields.\n\nTo keep this package simple, it does not attempt to implement all features of encoding/csv and be a complete drop-in\nreplacement. You will likely need to adjust your code slightly to use this package instead of encoding/csv.\n\nExamples\n--------\n\nReading CSV formatted data.\n\n    import (\n        \"strings\"\n        \"github.com/cego/go-csv\"\n    )\n\n    reader := csv.NewReader(strings.NewReader(\"fi,fy\\nfo,fum\"))\n    records, err := reader.ReadAll()\n    if err != nil \u0026\u0026 err != io.EOF {\n        panic(err)\n    }\n\n    // records is now [ [\"fi\",\"fy\"], [\"fo\",\"fum\"] ]\n\nWriting CSV formatted data.\n\n    import (\n        \"strings\"\n        \"github.com/cego/go-csv\"\n    )\n\n    builder := strings.Builder{}\n    writer := csv.NewWriter(\u0026builder)\n    err := writer.WriteAll([][]string{ {\"fi\", \"fy\"}, {\"fo\", \"fum\"} })\n    if err != nil {\n        panic(err)\n    }\n\n    // builder.String() is now \"fi\",\"fy\"\\r\\n\"fo\",\"fum\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcego%2Fgo-csv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcego%2Fgo-csv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcego%2Fgo-csv/lists"}