Categorygithub.com/yosssi/aceexamplesload_templates_from_binary_data
package
0.0.5
Repository: https://github.com/yosssi/ace.git
Documentation: pkg.go.dev

# README

Load Templates from Binary Data

This example shows how to load templates from binary data instead of template files.

You can run this example web application by executing the following command.

$ go run main.go asset.go

asset.go is created by executing make_asset.sh. This shell script executes go-bindata and generates binary data from the Ace template.

You can compile your web application into one binary file by using this function.

# Functions

Asset loads and returns the asset for the given name.
AssetNames returns the names of the assets.