Template Engines

Libraries and tools for templating and lexing.

Newest releases

ksrichard A simple CLI and library to generate any kind of projects from any kind of templates!
 

kataras Blocks is a, simple, Go-idiomatic view engine based on html/template
 

adobe Go Starter Go-starter allows to bootstrap a new project from a template. It uses Git repositories as templates and is shipped with batch of utilities to make bootstarpping easier. Installation Download lates
 

LiveRamp templater: the power of Go templates available on the command line Ever wanted to use Go's text/template in shell tooling instead of having to use a here document? Well, now you can. templater is a command line tool t
 

ddo go-mux-mvc golang gorilla/mux mvc template setup download this repo at your root project find and replace all github.com/ddo/go-mux-mvc to your project path edit setting/option.go update models/logg
 

alexkappa Mustache This is an implementation of the mustache templating language in Go. It is inspired by hoisie/mustache however it's not a fork, rather a re-implementation with improved spec conformance, a more flexible A
 

osteele Go Liquid Template Parser “Any sufficiently complicated C or Fortran program contains an ad-hoc, informally-specified, bug-ridden, slow implementation of half of Common Lisp.” – Philip Greenspun liquid ports
 

17twenty Hydrator Very simple demo to show how to use the template engine of Golang. It's called hydrator as it could form the basis of a templated/JSON data hydrator. Purpose Takes in JSON input (try source.json)
 

robvdl Moved to Gitlab I have moved my repos to Gitlab. See https://www.fsf.org/news/gnu-releases-ethical-evaluations-of-code-hosting-services for reasons. Gitlab repository link https://gitlab.com/go-box/pongo
 

mh-cbon template-compiler Compile text/template / html/template to regular go code. still a wip! Install You will need both library and binary. go get github.com/mh-cbon/template-compiler cd $GOPATH/src/github.c
 

gomatic renderizer Render Go text templates from the command line. go get github.com/gomatic/renderizer Supports providing top-level name/value pairs on the command line: renderizer --name=value --top=first template-file
 

kataras The package go-template provides the easier way to use templates via template engine, supports multiple template engines with different file extensions. It's a cross-framework means that it's 100% compatible with
 

aymerick raymond Handlebars for golang with the same features as handlebars.js 3.0. The full API documentation is available here: http://godoc.org/github.com/aymerick/raymond. Table of Contents Quick Start
 

valyala quicktemplate A fast, powerful, yet easy to use template engine for Go. Inspired by the Mako templates philosophy. Features Extremely fast. Templates are converted into Go code and then compiled. Qu
 

hoisie Overview mustache.go is an implementation of the mustache template language in Go. It is better suited for website templates than Go's native pkg/template. mustache.go is fast -- it parses templates efficiently and stor
 

ziutek FAQ What is Kasia.go? Kasia.go is a Go implementation of the Kasia templating system. Kasia is primarily designed for HTML, but you can use it for anything you want. Its syntax is somewhat similar to the web
 

jung-kurt gofpdf Package gofpdf implements a PDF document generator with high level support for text, drawing and images. Features Choice of measurement unit, page format and margins Page header and footer
 

dskinner Damsel Markup language featuring html outlining via css-selectors, extensible via pkg html/template and others. Library This package expects to exist at $GOPATH/src/dasa.cc/damsel and can be installed with
 

eknkc amber Notice While Amber is perfectly fine and stable to use, I've been working on a direct Pug.js port for Go. It is somewhat hacky at the moment but take a look at Pug.go if you are looking for a Pug.j
 

valyala fasttemplate Simple and fast template engine for Go. Fasttemplate performs only a single task - it substitutes template placeholders with user-defined values. At high speed :) Take a look at quicktemplate if you need
 

benbjohnson Ego Ego is an ERb style templating language for Go. It works by transpiling templates into pure Go and including them at compile time. These templates are light wrappers around the Go language itself. Usa
 

flosch pongo2 pongo2 is the successor of pongo, a Django-syntax like templating-language. Install/update using go get (no dependencies required by pongo2): go get -u github.com/flosch/pongo2 Please use the issue tra
 

yosssi Ace - HTML template engine for Go Overview Ace is an HTML template engine for Go. This is inspired by Slim and Jade. This is a refinement of Gold. Example = doctype html html lang=en head
 

sipin gorazor gorazor is the Go port of the razor view engine originated from asp.net in 2011. In summary, gorazor is: Extremely Fast. Templates are converted into Go code and then compiled with optimization. Conc