Napat / golang-merge-templates

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

golang-merge-templates

This program is used to merge multiple Go template files.

Installation

go install github.com/Napat/golang-merge-templates@latest

Usage

golang-merge-templates $OUTOUT <MAIN_TEMPLATE> <TEMPLATE_1> [<$TEMPLATE_2> ... ]

Sample

golang-merge-templates output.html sampledata/main.tpl sampledata/template_1.tpl sampledata/template_2.tpl

About


Languages

Language:Go 74.2%Language:Makefile 24.5%Language:Smarty 1.4%