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. ⚠️