MCPcopy
hub / github.com/gin-gonic/gin / Delims

Method Delims

gin.go:259–262  ·  view source on GitHub ↗

Delims sets template left and right delims and returns an Engine instance.

(left, right string)

Source from the content-addressed store, hash-verified

257
258// Delims sets template left and right delims and returns an Engine instance.
259func (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.
265func (engine *Engine) SecureJsonPrefix(prefix string) *Engine {

Callers 6

setupHTMLFilesFunction · 0.95
LoadHTMLGlobMethod · 0.80
LoadHTMLFilesMethod · 0.80
LoadHTMLFSMethod · 0.80
loadTemplateMethod · 0.80

Calls

no outgoing calls

Tested by 2

setupHTMLFilesFunction · 0.76