文件名称:goluajit:LuaJit 绑定到 Golang
文件大小:2KB
文件格式:ZIP
更新时间:2024-06-23 09:46:16
Go
LuaJit 绑定到 Go 安装 go get -u github.com/choix/goluajit 例子 package main import ( "fmt" "github.com/choix/goluajit" ) func main () { L := luajit . NewState () defer L . Close () L . OpenLibs () L . LoadString ( `print("Hello World!")` ) L . Run () }
【文件预览】:
goluajit-master
----luagit.go(1KB)
----README.md(283B)
----example()
--------hello_world.go(455B)