Skip to content

feat: Add support for Handlebars templates (.hbs, .handlebars) - #216

Open
rksharma-owg wants to merge 1 commit into
google:masterfrom
rksharma-owg:feat-handlebars-support
Open

rksharma-owg wants to merge 1 commit into
google:masterfrom
rksharma-owg:feat-handlebars-support

Conversation

@rksharma-owg

Copy link
Copy Markdown

This PR adds support for Handlebars template files (.hbs and .handlebars) using Handlebars comment syntax ({{!-- ... --}}).

Fixes #202

Changes:

  • Added .handlebars and .hbs extensions to main.go mapping to {{!-- / --}} comment delimiters.
  • Added unit test cases to TestLicenseHeader in main_test.go.
  • Added test fixtures in testdata/initial and testdata/expected for end-to-end verification via TestInitial.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request: support for handlebars templates

1 participant