-
Notifications
You must be signed in to change notification settings - Fork 244
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
How to use two different comma type? #84
Comments
Hello, What you're doing setting the Comma to '\t' then you're setting it to ',' and it does not work, have I understood it right? |
In my program, two kinds of csv files using comma or tab are parsed at the same time. |
Yes, this is also a problem that I have with this library :( Unfortunately when using two different readers in 2 goroutines it won't work because it's global. |
did anyone found how to change comma type while using this library |
The problem is the usage of global variables which is generally bad coding style. Someone should make a pull request to fix this. |
Hello.
I am trying to parse two csv files that have different comma type; ",", "\t", in a program.
I injected below code to change default separator.
It seems like working fine but doesn't.
The csv with tab could be parsed well but at the same time one with comma not.
In my opinion, the same reader is used in a program.
How can I use different reader on each csv file?
The text was updated successfully, but these errors were encountered: