import-export
togo import/export — CSV & Excel data import/export with mapping & validation
togo install togo-framework/import-exportStars0
LanguageGo
LicenseMIT
Last push2026-06-25
- csv
- excel
- export
- go
- golang
- import
- plugin
- togo
Readme
togo-framework/import-export
CSV & Excel data import/export for togo — mapping, validation, resources.
Install
bash
The togo answer to Laravel Excel / django-import-export: export any rows or a registered resource to CSV/XLSX, and import from CSV/XLSX with column mapping, header detection, and per-row validation that reports row/column errors instead of failing the whole file.
Usage
Export
go
Import (mapping + validation)
go
Registered resources
go
REST API
| Method | Path | Description |
|---|---|---|
GET | /api/export/{resource}?format=csv|xlsx | Download a registered resource |
POST | /api/import/{resource}?format=csv|xlsx | Upload + insert; returns {inserted, errors} |
Configuration
No required env. XLSX uses excelize; CSV uses the stdlib.
Premium sponsors
text
Support togo — become a sponsor.