An open API service indexing awesome lists of open source software.

https://github.com/miekg/gotmplfmt

Fmt Go HTML templates
https://github.com/miekg/gotmplfmt

fmt formatter golang templates

Last synced: 12 months ago
JSON representation

Fmt Go HTML templates

Awesome Lists containing this project

README

          

# gotmplfmt

Fmt Go HTML templates. There are no options. The indenting used is 1 tab - this allow your
terminal's tab width setting to do its work.

## Usage

1. `go build`
2. `./gotmplfmt < template.go.tmpl`

# Before

![Before fmt](Before.png)

# After

![After fmt](After.png)