I need to export a excel file of a specific template and import it back to insert into postgres as rows. I don't know how to do this using go-echo and gorm. Can someone tell me how i can do that?
CodePudding user response:
First read the Excel data, then map the data to Struct, and finally write it to PostgreSQL through gorm,I don't know what go-echo does here