DEV Community

Alex Pliutau
Alex Pliutau

Posted on

Video: Using go-bindata with html/template

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

Discussion (0)