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

proposal: embed: file: support io.ReaderAt interface #59596

Closed
paralin opened this issue Apr 13, 2023 · 1 comment
Closed

proposal: embed: file: support io.ReaderAt interface #59596

paralin opened this issue Apr 13, 2023 · 1 comment

Comments

@paralin
Copy link
Contributor

paralin commented Apr 13, 2023

Currently embed file supports io.Seeker: https://github.com/golang/go/blob/go1.20.2/src/embed/embed.go#L300

It should be able to support ReaderAt as well given that it's a static embedded file.

The proposal is to add support for io.ReaderAt on files returned from embed.FS Open.

@gopherbot gopherbot added this to the Proposal milestone Apr 13, 2023
@paralin
Copy link
Contributor Author

paralin commented Apr 13, 2023

Dupe: #57803

Apologies.

@paralin paralin closed this as not planned Won't fix, can't repro, duplicate, stale Apr 13, 2023
@paralin paralin reopened this Apr 13, 2023
@paralin paralin closed this as not planned Won't fix, can't repro, duplicate, stale Apr 13, 2023
@golang golang locked and limited conversation to collaborators Apr 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants