# README
go-lua-table-parser
A simple go package which takes a lua table as input and parses it to a map[string]interface{} where interface{} is either more map[string]interface{} or map[string]string.
This package uses the github.com/yuin/gopher-lua package.
Usage:
import parser "github.com/uberswe/go-lua-table-parser"
luaString := `Vars =
{
["key"] =
{
["someOtherKey"] = "value"
}
}`
func main() {
parser.Parse(luaString, "Vars")
}
# Functions
Parse takes a lua table as a string (s) and then the variable name of the lua table as arguments and returns a map[string]interface{} where interface{} is either more map[string]interface{} or map[string]string.
ParseByLState require "*lua.LState" and the name of table/variable
*/.
No description provided by the author