How to export a excel template file using golang and Go-echo?

Issue

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?

Solution

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

Answered By – Ivan

Answer Checked By – Senaida (GoLangFix Volunteer)

Leave a Reply

Your email address will not be published.