go-template

command module
v0.0.0-...-b2b90ce Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

README

go-template

Generic tempalte engine powered by Golang text/template.

Install

go install .

Usage

$ go-template -i sample/01_simple.yml
- a
- b
- c

$ go-template -i sample/02_range.yml
- 0
- 1
- 2
- 3
- 4

$ go-template -i sample/03_injection.yml -p sample/03_injection.val.yml
[1 2 3]

$ go-template -i sample/03_injection_list.yml -p sample/03_injection.val.yml
- item_1
- item_2
- item_3

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL