github.com/blendle/epp

A small templating engine that allows you to process templated strings or files.


License
MIT
Install
go get github.com/blendle/epp

Documentation

epp - Easy preprocessor

A small templating engine that allows you to process templated strings or files.

For example:

{{ if (env "HOME") }}
...
{{ end }}

Will check if $HOME is set.

You can use all of the helpers provided by the Sprig library

Installation

$ go get github.com/blendle/epp

Or download one of the stable releases.

Usage

$ epp inputfile -o output
$ epp - < input > output
$ epp inputfile # Write to stdout