Delims sets template left and right delims and returns an Engine instance.
(left, right string)
| 257 | |
| 258 | // Delims sets template left and right delims and returns an Engine instance. |
| 259 | func (engine *Engine) Delims(left, right string) *Engine { |
| 260 | engine.delims = render.Delims{Left: left, Right: right} |
| 261 | return engine |
| 262 | } |
| 263 | |
| 264 | // SecureJsonPrefix sets the secureJSONPrefix used in Context.SecureJSON. |
| 265 | func (engine *Engine) SecureJsonPrefix(prefix string) *Engine { |
no outgoing calls