Documentation
¶
Index ¶
- func GoTypeToLuaType(l *lua.LState, goValue any) lua.LValue
- func LuaTypeToGoType(l *lua.LState, lvalue lua.LValue) any
- func MapToStruct(l *lua.LState, lvalue lua.LValue, target any) error
- func MapToTable(L *lua.LState, m map[string]any) *lua.LTable
- func PushError(L *lua.LState, err error) int
- func StructToTable(l *lua.LState, structValue any) (*lua.LTable, error)
- func TableToArray(L *lua.LState, table *lua.LTable) []any
- func TableToMap(L *lua.LState, table *lua.LTable) map[string]any
- func TableToMapAny(L *lua.LState, table *lua.LTable) map[any]any
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StructToTable ¶
StructToTable converts a Go struct to a Lua table
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.