exec

package
v0.5.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2024 License: LGPL-2.1 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Importable tengo.Importable = NewExec()
)

Functions

This section is empty.

Types

type ImportExec

type ImportExec struct {
	Attrs map[string]tengo.Object
}

func NewExec

func NewExec() *ImportExec

func (*ImportExec) AsImmutableMap

func (ie *ImportExec) AsImmutableMap(name string) *tengo.ImmutableMap

AsImmutableMap converts builtin module into an immutable map.

func (*ImportExec) Import

func (ie *ImportExec) Import(moduleName string) (interface{}, error)

Import returns an immutable map for the module.

func (*ImportExec) Version

func (ie *ImportExec) Version() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL