Registry / utility / flosch-pongo2-v4

flosch-pongo2-v4

JSON →
library4.0.2gogounverified

Pongo2 is a Django-syntax-like template engine for Go.

go get github.com/flosch/pongo2/v4
INSTALL
IMPORT
SIG · FLOSCH-PONGO2-V4
F
flosch-pongo2-v4
utilitygov4.0.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

pongo2
✓ github.com/flosch/pongo2/v4

Render a simple template with a context variable

package main import ( "fmt" "github.com/flosch/pongo2/v4" ) func main() { tpl, _ := pongo2.FromString("Hello {{ name }}!") out, _ := tpl.Execute(pongo2.Context{"name": "World"}) fmt.Println(out) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
4.0.2latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
flosch-pongo2-v4 — go get flosch-pongo2-v4 · libregistry