-
Notifications
You must be signed in to change notification settings - Fork 18.8k
Closed
Labels
DocumentationIssues describing a change to documentation.Issues describing a change to documentation.FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.The path to resolution is known, but the work has not been done.help wanted
Milestone
Description
From the current document, there is no guarantee whether (*embed.FS).Open's returning value implements io.Seeker or not.
Open opens the named file for reading and returns it as an fs.File.
IIUC the returned value always implements io.Seeker in the current implementation, and actually it is fine to assume this (e.g., #44175 (comment)). Would it be possible to make the current behavior explicit in the document?
mattn, koron, johejo, josharian, mvdan and 1 more
Metadata
Metadata
Assignees
Labels
DocumentationIssues describing a change to documentation.Issues describing a change to documentation.FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.The path to resolution is known, but the work has not been done.help wanted