What extension you usually use for go templates files?

Hi folks, i am adding support for the std template language (html/template) for the intellij go plugin, i like to know from the community the most common extension.

Thanks in advance
José Santos


I believe that this is the default for vim-go.

I’ve also seen a lot of .html, but my editor doesn’t pick up the curly brace syntax.

I also use .tmpl, since vim-go works with it. It looks like .gohtml is the default for Sublime Text and Atom.


Thanks for the feedback. By now i decide to open .tmpl, .gohtml, .go.html as template.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.