template_jet_1_embedded

command
v12.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 22, 2023 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Overview

Package main generated by go-bindata.// sources: views/includes/_partial.jet views/includes/blocks.jet views/index.jet views/layouts/application.jet

Package main shows how to use jet templates embedded in your application with ease using the Iris built-in Jet view engine. This example is a customized fork of https://github.com/CloudyKit/jet/tree/master/examples/asset_packaging, so you can notice the differences side by side. For example, you don't have to use any external package inside your application, Iris manually builds the template loader for binary data when Asset and AssetNames are available via tools like the go-bindata.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL