Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
393
func
normalizeTemplate(tmpl string) string {
return
tmplNormRegexp.ReplaceAllString(tmpl,
"{{$2}}"
) }
394
395
const
expectedBracketsSeq =
"{{}}"
396
Callers
2
TestNormalizeTemplate
Function · 0.85
NewFormatter
Function · 0.85
Calls
no outgoing calls
Tested by
1
TestNormalizeTemplate
Function · 0.68