Video: Using go-bindata with html/template

twitter logo github logo ・1 min read

go-bindata converts any text or binary file into Go source code, which is useful for embedding data into Go programs. So you can build your whole project into 1 binary file for easier delivery.

Let's write some program which will have html template file and build this program in a way that we will need only 1 executable file to run it.

packagemain #3: Using go-bindata with html/template

twitter logo DISCUSS
Classic DEV Post from Jul 30 '19

When Stack Overflow Goes Offline...

Alex Pliutau profile image
Gopher https://www.youtube.com/packagemain | Backend Engineer

dev.to is where software developers stay in the loop and avoid career stagnation.

Sign up (for free)