Description
Jet is a template engine developed to be easy to use, powerful, dynamic, secure and very fast.
Jet Template Engine for GO alternatives and similar packages
Based on the "Template Engines" category.
Alternatively, view Jet Template Engine for GO alternatives based on common mentions on social networks and blogs.
-
gofpdf
A PDF document generator with high level support for text, drawing and images. -
quicktemplate
Fast, powerful, yet easy to use template engine. Converts templates into Go code and then compiles it. -
hero
Hero is a handy, fast and powerful go template engine. -
mustache
A Go implementation of the Mustache template language. -
amber
Amber is an elegant templating engine for Go Programming Language It is inspired from HAML and Jade. -
ace
Ace is an HTML template engine for Go, inspired by Slim and Jade. Ace is a refinement of Gold. -
Plush
Plush is the templating system that Go both needs and deserves. Powerful, flexible, and extendable, Plush is there to make writing your templates that much easier. -
fasttemplate
Simple and fast template engine. Substitutes template placeholders up to 10x faster than text/template. -
ego
A lightweight templating language that lets you write templates in Go. Templates are translated into Go and compiled. -
maroto
A maroto way to create PDFs. Maroto is inspired in Bootstrap and uses gofpdf. Fast and simple. -
goview
Goview is a lightweight, minimalist and idiomatic template library based on golang html/template for building Go web application. -
Soy
Closure templates (aka Soy templates) for Go, following the official spec -
liquid
A Go implementation of Shopify Liquid templates. -
grender
small wrapper around html/template for file-based templates that support extending other template files -
kasia.go
Templating system for HTML and other text documents -
extemplate
Tiny wrapper around html/template to allow for easy file-based template inheritance. -
damsel
Markup language featuring html outlining via css-selectors, extensible via pkg html/template and others. -
gospin
Article spinning and spintax/spinning syntax engine, useful for A/B, testing pieces of text/articles and creating more natural conversations.
Get performance insights in less than 4 minutes
Do you think we are missing an alternative of Jet Template Engine for GO or a related project?
README
Jet Template Engine for Go
Jet is a template engine developed to be easy to use, powerful, dynamic, yet secure and very fast.
- simple and familiar syntax
- supports template inheritance (
extends
) and composition (block
/yield
,import
,include
) - descriptive error messages with filename and line number
- auto-escaping
- simple C-like expressions
- very fast execution – Jet can execute templates faster than some pre-compiled template engines
- very light in terms of allocations and memory footprint
v6
Version 6 brings major improvements to the Go API. Make sure to read through the [breaking changes](./docs/changes.md) before making the jump.
Docs
- Go API
- [Syntax Reference](./docs/syntax.md)
- [Built-ins](./docs/builtins.md)
- Wiki (some things are out of date)
Example application
An example to-do application is available in [examples/todos](./examples/todos). Clone the repository, then (in the repository root) do:
$ cd examples/todos; go run main.go
IntelliJ Plugin
If you use IntelliJ there is a plugin available at https://github.com/jhsx/GoJetPlugin. There is also a very good Go plugin for IntelliJ – see https://github.com/go-lang-plugin-org/go-lang-idea-plugin. GoJetPlugin + Go-lang-idea-plugin = happiness!
Contributing
All contributions are welcome – if you find a bug please report it.
Contributors
- José Santos (@jhsx)
- Daniel Lohse (@annismckenzie)
- Alexander Willing (@sauerbraten)