Awesome Go

Template Engines

20 libraries in this category

templ

A HTML templating language that has great developer tooling

10,614Template EnginesTemplate Engines
quicktemplate

Fast, powerful, yet easy to use template engine. Converts templates into Go code and then compiles it

3,325Template EnginesTemplate Engines
pongo2

Django-like template-engine for Go

3,085Template EnginesTemplate Engines
maroto

A maroto way to create PDFs. Maroto is inspired in Bootstrap and uses gofpdf. Fast and simple

2,789Template EnginesTemplate Engines
jet

Jet template engine

1,410Template EnginesTemplate Engines
fasttemplate

Simple and fast template engine. Substitutes template placeholders up to 10x faster than [text/template](https://golang.org/pkg/text/template/)

919Template EnginesTemplate Engines
Razor

Razor view engine for Golang

884Template EnginesTemplate Engines
ego

Lightweight templating language that lets you write templates in Go. Templates are translated into Go and compiled

589Template EnginesTemplate Engines
goview

Goview is a lightweight, minimalist and idiomatic template library based on golang html/template for building Go web application

464Template EnginesTemplate Engines
liquid

Go implementation of Shopify Liquid templates

360Template EnginesTemplate Engines
sprout

Useful template functions for Go templates

232Template EnginesTemplate Engines
Soy

Closure templates (aka Soy templates) for Go, following the [official spec](https://developers.google.com/closure/templates/)

176Template EnginesTemplate Engines
bagme

HTML/CSS to PDF rendering with TeX-quality typesetting in pure Go

116Template EnginesTemplate Engines
gox

HTML templates as first-class Go expressions, with seamless editor support

66Template EnginesTemplate Engines
gospin

Article spinning and spintax/spinning syntax engine, useful for A/B, testing pieces of text/articles and creating more natural conversations.

59Template EnginesLibraries and tools for templating and lexing.
got

A Go code generator inspired by Hero and Fasttemplate. Has include files, custom tag definitions, injected Go code, language translation, and more

38Template EnginesTemplate Engines
tbd

A really simple way to create text templates with placeholders - exposes extra builtin Git repo metadata

26Template EnginesTemplate Engines
go-partial

Render full pages or targeted partials from one html/template tree, for htmx, Turbo and Unpoly

24Template EnginesTemplate Engines
liquidgo

Full Go implementation of Shopify's Liquid template engine

17Template EnginesTemplate Engines
templator

A type-safe HTML template rendering engine for Go

13Template EnginesTemplate Engines