#development #golang #pattern #reading-list
🔗 Embed a Javascript website inside a binary with Go 1.16
blog.lawrencejones.dev
Amongst all the news- both positive and grumbling- around the Golang generics proposal, you may have missed the announcement of native file embedding coming in Go 1.16 (February 2021).
Go programs have always been easy to distribute, with great cross-platform compilation and default static binaries. But if you had files you wanted to bundle with your app, well, things get a bit harder.
With the new embed directive, including files becomes easy. And it opens the door for some really great UX improvements!
continue reading on blog.lawrencejones.dev
⚠️ This post links to an external website. ⚠️
If this post was enjoyable or useful for you, please share it! If you have comments, questions, or feedback, you can email my personal email. To get new posts, subscribe use the RSS feed.