You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.The text was updated successfully, but these errors were encountered: