summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/d5/tengo/objects/builtins.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/d5/tengo/objects/builtins.go')
-rw-r--r--vendor/github.com/d5/tengo/objects/builtins.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/vendor/github.com/d5/tengo/objects/builtins.go b/vendor/github.com/d5/tengo/objects/builtins.go
index bfd004dd..773636ec 100644
--- a/vendor/github.com/d5/tengo/objects/builtins.go
+++ b/vendor/github.com/d5/tengo/objects/builtins.go
@@ -111,4 +111,8 @@ var Builtins = []*BuiltinFunction{
Name: "type_name",
Value: builtinTypeName,
},
+ {
+ Name: "format",
+ Value: builtinFormat,
+ },
}