Add concat function

This commit is contained in:
Svilen Markov committed 2025-03-29 13:20:53 +00:00
1 parent 26d68ba3fc
commit f15d7445bd
2 files changed
+4

No files matched your search

+3
View File
@@ -514,6 +514,9 @@ var customAPITemplateFuncs = func() template.FuncMap {
return results
},
"concat": func(items ...string) string {
return strings.Join(items, "")
},
}
for key, value := range globalTemplateFunctions {