Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 1.57 KB

README.md

File metadata and controls

35 lines (28 loc) · 1.57 KB

Jet Template Engine Packr Loader

Build Status Coverage Status Go.Dev reference Go Report Card Release Downloads Chat Community

Install

$ go get -u clevergo.tech/jetpackr

Usage

See example.

package main

import (
	"github.com/CloudyKit/jet/v5"
	"github.com/clevergo/jetpackr"
	"github.com/gobuffalo/packr/v2"
)

func main() {
	box := packr.New("views", "./views")
	view := jet.NewHTMLSetLoader(jetpackr.New(box))
	// ...
}