1
0
Fork 0
mirror of https://github.com/Luzifer/promcertcheck.git synced 2024-11-12 17:52:44 +00:00
promcertcheck/vendor/github.com/flosch/pongo2/pongo2.go
Knut Ahlers 2f67c05f2e
Force latest version of pongo2
v3 has a bug with sorted keyword

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-11-05 16:50:25 +01:00

14 lines
323 B
Go

package pongo2
// Version string
const Version = "dev"
// Must panics, if a Template couldn't successfully parsed. This is how you
// would use it:
// var baseTemplate = pongo2.Must(pongo2.FromFile("templates/base.html"))
func Must(tpl *Template, err error) *Template {
if err != nil {
panic(err)
}
return tpl
}