This commit is contained in:
Magnus Åhall 2025-05-09 07:30:03 +02:00
parent 3ae999c98b
commit 7f1fc0890f

2
pkg.go
View file

@ -38,7 +38,7 @@ func (l *LUA) GetStructFromLUA(ltable gopherLua.LValue, strct any) (err error) {
return
}
func (l *LUA) GetJSONromLUA(ltable gopherLua.LValue) (j []byte) {
func (l *LUA) GetJSONFromLUA(ltable gopherLua.LValue) (j []byte) {
j, _ = luaJSON.Encode(ltable)
return
}