Skip to content

miekg/gotmplfmt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

e489df4 · Mar 3, 2025

History

93 Commits
Feb 19, 2025
Feb 24, 2025
Feb 19, 2025
Feb 19, 2025
Feb 19, 2025
Feb 24, 2025
Feb 19, 2025
Feb 19, 2025
Feb 24, 2025
Feb 24, 2025
Feb 23, 2025
Feb 22, 2025
Mar 3, 2025
Feb 22, 2025
Feb 24, 2025
Feb 24, 2025

Repository files navigation

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

After

After fmt