MCPcopy Create free account
hub / github.com/rabbitstack/fibratus / normalizeTemplate

Function normalizeTemplate

pkg/event/formatter.go:393–393  ·  view source on GitHub ↗
(tmpl string)

Source from the content-addressed store, hash-verified

391}
392
393func normalizeTemplate(tmpl string) string { return tmplNormRegexp.ReplaceAllString(tmpl, "{{$2}}") }
394
395const expectedBracketsSeq = "{{}}"
396

Callers 2

TestNormalizeTemplateFunction · 0.85
NewFormatterFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestNormalizeTemplateFunction · 0.68