countries icon indicating copy to clipboard operation
countries copied to clipboard

csv output

Open gedw99 opened this issue 3 years ago • 1 comments

this works really well.

god knows how you ported the ruby data across. hopefully it was copy only :)

anyway i was thinking that it would be useful to have a dumper that can output all data in CSV format. then can import into a DB.

I would extend the generator to output csv. Seems like the smart place to do it.

use case is that some people like me :) need the lookup data to be in a DB.

SO we then have countries output as golang code and csv data. take your pick..

what do you think ?

gedw99 avatar Jan 24 '23 16:01 gedw99

I think this is not the purpose, the competence of this package. Maybe another package can do this. It can use this package API and generate a CSV file. 🚀

ps: to import data we need only to copy some files from the Ruby gem and run a go generator. 😅

pioz avatar Jan 25 '23 09:01 pioz