2019-03-18 18:15:26 +03:00
|
|
|
package objects
|
|
|
|
|
|
|
|
// Importable interface represents importable module instance.
|
|
|
|
type Importable interface {
|
|
|
|
// Import should return either an Object or module source code ([]byte).
|
2019-03-20 11:28:40 +03:00
|
|
|
Import(moduleName string) (interface{}, error)
|
2019-03-18 18:15:26 +03:00
|
|
|
}
|