Skip to content

Fixed crash when there are trailing delimiters at the end of a line#8

Open
2joy wants to merge 11 commits intoJensRantil:masterfrom
2joy:master
Open

Fixed crash when there are trailing delimiters at the end of a line#8
2joy wants to merge 11 commits intoJensRantil:masterfrom
2joy:master

Conversation

@2joy
Copy link

@2joy 2joy commented Feb 12, 2019

I used a piece of your code to fix the problem, you can see by comments. I needed to fix it to get https://github.com/lukasmartinelli/pgfutter works properly. I built the new version of pgfutter with fixed go-csv. After 2 week of every day usage there are no isues.

@JensRantil
Copy link
Owner

Whoa! I'm happy this library is being used!

Thanks for the fix. Would it be possible for you to add a test case, too? If too much work, could you paste some example code/CSV here and I'll make sure to add a test case.

JensRantil and others added 10 commits March 28, 2022 22:07
Travis CI was sunset in May 2021[1]. Will introduce Github Actions
instead.

[1] https://blog.travis-ci.com/2021-05-07-orgshutdown
22: Enable Github Actions r=JensRantil a=JensRantil



Co-authored-by: Jens Rantil <jens.rantil@normative.io>
19: feat(writer): introduce non-numeric & non-empty quote mode r=JensRantil a=JensRantil



Co-authored-by: Tim Otto <tim@timotto.io>
Nice to have that done automagically.
23: chore(ci): delete branch after merge r=JensRantil a=JensRantil

Nice to have that done automagically.

Co-authored-by: Jens Rantil <jens.rantil@normative.io>
...not just pushes that are related to Bors.
24: chore(ci): run tests on all pushes r=JensRantil a=JensRantil

...not just pushes that are related to Bors.

bors merge

Co-authored-by: Jens Rantil <jens.rantil@normative.io>
@JensRantil
Copy link
Owner

Whoa! I'm happy this library is being used!

Thanks for the fix. Would it be possible for you to add a test case, too? If too much work, could you paste some example code/CSV here and I'll make sure to add a test case.

@2joy Ping. Spent a few minutes yesterday trying to reproduce this but was unable to. Do you think you could paste an example CSV file here?

@JensRantil
Copy link
Owner

JensRantil commented Feb 14, 2025

Hello! There are merge conflicts here. Would you mind rebasing?

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

Successfully merging this pull request may close these issues.

3 participants