Skip to content

proposal: embed: bring back String and Bytes for convenience/documentation #44089

@earthboundkid

Description

@earthboundkid

It is getting extremely late for Go 1.16, but for 1.17, I propose bringing back the String and Bytes type aliases in package embed. They’re a convenient way to document intent and they help goimport. Plus if #43698 is accepted they can add an error if the comment is accidentally omitted.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions