Closed
Description
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
Labels
No labels