News for hackers. Stuff that matters.
Re:Go command support for embedded static assets (files) by mjibson on Thursday July 23, 2020 @10:38PM (#23935135)
I wrote one of the listed tools (github.com/mjibson/esc) and am thrilled about this proposal. I think it's great and solves all the problems in a great way.
Re:Go command support for embedded static assets (files) by stevekemp on Thursday July 23, 2020 @11:21PM (#23935376)
I wrote an unlisted tool too, and I am also a fan of this proposal.

The fact that there are so many of these "embed file in binary" tools suggests that it really is a problem that could be usefully solved once, in a consistent and reliable fashion.

Re:Go command support for embedded static assets (files) by BillinghamJ on Friday July 24, 2020 @03:32AM (#23936754)
It does seem like it'd benefit from a "Must" method though - so you can use it easily to populate variables at init-time