summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/d5/tengo/stdlib/builtin_modules.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/d5/tengo/stdlib/builtin_modules.go')
-rw-r--r--vendor/github.com/d5/tengo/stdlib/builtin_modules.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/vendor/github.com/d5/tengo/stdlib/builtin_modules.go b/vendor/github.com/d5/tengo/stdlib/builtin_modules.go
new file mode 100644
index 00000000..cc2796f9
--- /dev/null
+++ b/vendor/github.com/d5/tengo/stdlib/builtin_modules.go
@@ -0,0 +1,14 @@
+package stdlib
+
+import "github.com/d5/tengo/objects"
+
+// BuiltinModules are builtin type standard library modules.
+var BuiltinModules = map[string]map[string]objects.Object{
+ "math": mathModule,
+ "os": osModule,
+ "text": textModule,
+ "times": timesModule,
+ "rand": randModule,
+ "fmt": fmtModule,
+ "json": jsonModule,
+}