luaparser

package module
v0.0.0-...-e507000 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 20, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

README

luaparser

Library for converting simple Lua scripts into user-defined Go objects

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LuaParser

type LuaParser struct {
	GlobalVar string
	Debug     bool
}

LuaParser parses a simple Lua script into a Go object

func (*LuaParser) Unmarhsall

func (p *LuaParser) Unmarhsall(in []byte, out interface{}) error

Unmarshal takes Lua script raw data, executes it, then stores the result in the value pointed to by out

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL