I want use a-h/templ to write a go code template for my gogen program. How to write curly braces without them being recognized as variables? #618
Unanswered
TraderWithPython
asked this question in
Q&A
Replies: 3 comments
-
This is not recommended, templ is a HTML templating language. |
Beta Was this translation helpful? Give feedback.
0 replies
-
It is indeed a very impressive package. I am just stuck on this issue right now. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Sorry, what I'm trying to say is that you shouldn't write Go code templates using templ, it's for HTML. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want use a-h/templ to write a go code template for my gogen program. How to write curly braces without them being recognized as variables?
Beta Was this translation helpful? Give feedback.
All reactions