Skip to content

Support Go 1.16 embed package #997

Closed
@nevkontakte

Description

@nevkontakte

This is a new feature in 1.16 that allows embedding arbitrary files into Go binaries: https://pkg.go.dev/embed.

This can be very useful in GopherJS context for use cases such as embedding templates for use at the backend and frontend simultaneously.

While there are pre-existing community-offered tools that solve this problem, all of them require use of go generate or a similar tool and are much less convenient to use.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions