Compare commits
No commits in common. "main" and "v0.1.2" have entirely different histories.
1 changed files with 0 additions and 6 deletions
6
pkg.go
6
pkg.go
|
@ -38,12 +38,6 @@ func (l *LUA) GetStructFromLUA(ltable gopherLua.LValue, strct any) (err error) {
|
|||
return
|
||||
}
|
||||
|
||||
func (l *LUA) GetJSONFromLUA(ltable gopherLua.LValue) (j []byte) {
|
||||
j, _ = luaJSON.Encode(ltable)
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
func (l *LUA) Run(script string) (err error) {
|
||||
return l.state.DoString(script)
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue