golang 绑定lua脚本 · 1,go执行go get github.com/Shopify/go-lua · 2,创建lua对象: luaState = lua.NewState() · 3, 加载lua文件: · 4, 加载lua函数 · 5, 传递参数给lua函数.
確定! 回上一頁