jinja

package
v0.1.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 24, 2025 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

@todo: replace gonja with Go standard library text template. ptool uses gonja (https://github.com/noirbizarre/gonja) as template language. gonja is a Go port of Jinja which supported features & syntaxes is a subset of the latter. This package implements some Jinja filters that are currently missing in gonja.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Render

func Render(template string, context map[string]any) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL