gormcsv is a generic importer tool to allow the upload of CSV files for populating data to the most popular Golang ORM, gorm.
The package installs a CLI interface for import and upload a comma separated values file or MS Excel file.
The upload triggers the import mechanism which matches the header line of the files field names to the fields in the selected model. Importing any rows that include all required fields. Optionally required fields can be specified as part of the upload. By default duplicate value rows are not inserted.
The code also uses metaprogramming to generate Go gorm structs based on the field structure of the CSV file.
It basically addresses the same job as django-csvimport but for the Go echo system. I created it to teach myself Go before starting a job that was predominantly Go based in 2019.