Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Load ¶
func Load(L *lua.LState, perm pinterface.IPermissions)
Load makes functions related to building a library of Lua code available
Types ¶
type LValueWrapper ¶
LValueWrapper decorates lua.LValue to help retieve values from the database.
func (*LValueWrapper) Scan ¶
func (w *LValueWrapper) Scan(value interface{}) error
Scan implements the sql.Scanner interface for database deserialization.
type LValueWrappers ¶
type LValueWrappers []LValueWrapper
LValueWrappers is a convenience type to easily map to a slice of lua.LValue
func (LValueWrappers) Interfaces ¶
func (w LValueWrappers) Interfaces() (s []interface{})
Interfaces returns a slice of interface{} values from the given LValueWrappers
func (LValueWrappers) Unwrap ¶
func (w LValueWrappers) Unwrap() (s []lua.LValue)
Unwrap produces a slice of lua.LValue from the given LValueWrappers
Click to show internal directories.
Click to hide internal directories.