Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

csv output #1

Open
gedw99 opened this issue Jan 24, 2023 · 1 comment
Open

csv output #1

gedw99 opened this issue Jan 24, 2023 · 1 comment

Comments

@gedw99
Copy link

gedw99 commented Jan 24, 2023

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 ?

@pioz
Copy link
Owner

pioz commented Jan 25, 2023

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. 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants