Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Go] Assign .tmpl extension to Go templates #3840

Merged
merged 1 commit into from
Nov 1, 2023

Conversation

deathaxe
Copy link
Collaborator

Go templates use *.tmpl file extension by default according to https://docs.gomplate.ca/usage/.

Copy link
Collaborator

@michaelblyons michaelblyons left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is less non-Go use of this extension than I expected.

Copy link
Collaborator

@FichteFoll FichteFoll left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like it is used in some projects outside of Go, most notably ruby, but most of the results are just forks of the ruby repo. Another popular repo whose forks frequently occur is tensorflow.

Either way, it's not like there's anything else one could reasonably suggest for such a generic extension, it seems, and Go does seem to have the majority here.

@deathaxe deathaxe merged commit 375ccbf into sublimehq:master Nov 1, 2023
2 checks passed
@deathaxe deathaxe deleted the pr/go/go-template-extension branch November 1, 2023 19:21
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.

3 participants