Embedding static files in Go binaries

Using the Golang embed directive

Tiago Temporin
ITNEXT
Published in
1 min readJan 19, 2022

--

Released in version 1.16, the embed package gives us a new directive to help embed files inside Go programs.

--

--