R
R
Roman Rakzin2015-06-06 10:37:57
go
Roman Rakzin, 2015-06-06 10:37:57

How to disable template engine in Beego on a specific site?

Good afternoon.
How to disable template engine in Beego on a specific site? you need to disable the characters {{ }} , because there is also angularjs which uses them.
in Twig in php I used {%VERBATIM%} .... {%endverbatim} and at that point, it crashed. And what to do in beego?
Thanks

Answer the question

In order to leave comments, you need to log in

1 answer(s)
U
uvelichitel, 2015-06-06
@uvelichitel

Not an expert in beego, but in stdlib html/template usually in such cases just use another delimiter golang.org/pkg/html/template/#Template.Delims

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question