summaryrefslogblamecommitdiffstats
path: root/vendor/github.com/d5/tengo/objects/importable.go
blob: 9fd86ae876c52e4bb0a2741e3469f421319f4abd (plain) (tree)
1
2
3
4
5
6
7





                                                                                
package objects

// Importable interface represents importable module instance.
type Importable interface {
	// Import should return either an Object or module source code ([]byte).
	Import(moduleName string) (interface{}, error)
}