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.
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
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
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
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.
Takes in JSON input (try source.json)
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
Compile text/template / html/template to regular go code.
still a wip!
You will need both library and binary.
go get github.com/mh-cbon/template-compiler
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
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
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
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
Markup language featuring html outlining via css-selectors, extensible via pkg html/template and others.
This package expects to exist at $GOPATH/src/dasa.cc/damsel and can be installed with
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
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
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.
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
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.