Skip to content

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

@paralin

Description

@paralin

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions