Add support for variadic functions

This commit is contained in:
2024-01-18 23:42:18 -08:00
parent 25037db86a
commit 9bf56b50a4
2 changed files with 18 additions and 6 deletions
+1
View File
@@ -19,6 +19,7 @@ var globalVars = map[string]any{
"count": strings.Count,
"split": strings.Split,
"join": strings.Join,
"sprintf": fmt.Sprintf,
}
func tmplLen(v any) (int, error) {