tmpl

command module
v0.0.0-...-4b08f60 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

README

tmpl

A command line tool for parsing and generating template files for Go (Golang).

Features
  • Generate files from templates
  • Useful for go:generate commands
  • Accepts data as json or from a file
  • Templates are processed and compiled
  • Process and compile multiple templates at once
Installation
go get github.com/abcum/tmpl
Usage
tmpl -file data.json file1.go.tmpl file2.go.tmpl
tmpl -data '["foo","bar","baz"]' file1.go.tmpl file2.go.tmpl

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