Answer the question
In order to leave comments, you need to log in
Insert pattern into go pattern by variable?
Good day.
I understood how to insert a template into a template using a constant {{template "content"}},
but I can't understand how to insert a variable using {{template .content}}.
I tried to create a function and print text, but all curly braces are escaped. Is there a way to disable shielding? Or what to do in this situation.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question