summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/d5/tengo/compiler/module_loader.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/d5/tengo/compiler/module_loader.go')
-rw-r--r--vendor/github.com/d5/tengo/compiler/module_loader.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/vendor/github.com/d5/tengo/compiler/module_loader.go b/vendor/github.com/d5/tengo/compiler/module_loader.go
new file mode 100644
index 00000000..b050474d
--- /dev/null
+++ b/vendor/github.com/d5/tengo/compiler/module_loader.go
@@ -0,0 +1,4 @@
+package compiler
+
+// ModuleLoader should take a module name and return the module data.
+type ModuleLoader func(moduleName string) ([]byte, error)