package
1.2.6
Repository: https://github.com/micro-plat/lib4go.git
Documentation: pkg.go.dev

# Functions

New 构建LUA虚拟机.
With 添加全局变量.
WithCodeBlockMode 使用代码块模式,预编译脚本调用call时执行脚本.
WithKV 批量添加一组变量.
WithMainFuncMode 使用main函数调用模式,启动时执行脚本,调用call时执行main函数.
WithModule 添加模块.
WithModules 添加多个模块.
WithMT 将对象转换为LuaTable.
WithType 添加全局类型.

# Constants

CodeBlockMode 代码块模式.
MainFuncMode main函数调用模式.

# Structs

VM lua虚拟机.

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
Modules 供lua脚本使用的模块信息.
Option 配置选项.