Currently, I am using Go to access my database. Ideally, I\'d like to generate .csv based on the table\'s name and export data to those files based on the query.
For ex
Iterate the rows with a loop to fetch each row
rows
Use package encoding/csv to write a CSV file.