Skip to content

clevergo/jetpackr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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))
	// ...
}