Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LValueWrapper ¶
LValueWrapper decorates lua.LValue to help retieve values from the database.
func (*LValueWrapper) Scan ¶
func (w *LValueWrapper) Scan(value any) 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 []any)
Interfaces returns a slice of any 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.