Articles

To be notified of all new published content, subscribe to the site RSS feed .

Bundling templates with embed

Resource embedding tools like embed allow developers to include static assets and other unpublished files like templates in their executable programs.

Let’s see how.

Fullscreen text UIs

Want to create a Go application combining a web user interface and a full-screen text user interface (TUI) ?

This is actually rather easy, thanks to a well-built contributed module.

Bundling templates with pkger

Resource embedding tools like pkger allow developers to include static assets and other unpublished files like templates in their executable programs.

Let’s see how.

COVID-19

The book was supposed to be released on the 2020-04-01.

As things stand, it came out as a bad April’s Fool joke, due to the COVID-19 pandemic suspending the official release.

This had two impacts:

Error handling with Go 1.14

When programming in Go 1.14, error handling is no longer limited to the error interface.

Discover error wrapping, introduced with Go 1.13, and slowly generalized in the Go 1.14 runtime library.

go.dev is online