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

Use an io.ReadSeeker instead of an io.Reader to parse feeds #2445

Closed
wants to merge 1 commit into from
Closed

Use an io.ReadSeeker instead of an io.Reader to parse feeds #2445

wants to merge 1 commit into from

Conversation

jvoisin
Copy link
Contributor

@jvoisin jvoisin commented Mar 3, 2024

This will allow to make use of func (*Reader) Seek, instead of re-recreating a new reader. It's a large commit for a small change, but anything to simply the reader/buffer/ReadAll/… mess is a step in the right direction I think, and it should enable more follow-up simplifications.

This will allow to make use of `func (*Reader) Seek`, instead of re-recreating
a new reader. It's a large commit for a small change, but anything to simply
the reader/buffer/ReadAll/… mess is a step in the right direction I think,
and it should enabled more follow-up simplifications.
@fguillot
Copy link
Member

fguillot commented Mar 6, 2024

There are some conflicts in internal/reader/atom/atom_10_test.go that prevent this PR to be merged.

@jvoisin
Copy link
Contributor Author

jvoisin commented Mar 6, 2024

Superseded by #2459

@jvoisin jvoisin closed this Mar 6, 2024
@jvoisin jvoisin deleted the seek branch March 6, 2024 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants