Skip to content

meixiu/pongo2-packr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pongo2-packr

pongo2 packr loader

import (
	"github.com/gobuffalo/packr/v2"
	"github.com/wbsifan/pongo2-packr"
)

// then
box := packr.New("template", "../template")
loader := pongo2packr.NewLoader(box)
t := pongo2.NewSet("", loader)
tpl, err = t.FromFile("index.html")

About

pongo2 packr loader

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages