Shopify / go-lua

A Lua VM in Go
MIT License
3.13k stars 190 forks source link

How to call go function on lua scripts? #97

Closed imiskolee closed 5 years ago

imiskolee commented 6 years ago

Hi, I want call go function on LUA scripts.like:

func QueryData(sql string) map[string]string

frioux commented 5 years ago

docs are here: https://godoc.org/github.com/Shopify/go-lua#SetFunctions

imiskolee commented 5 years ago

@frioux thanks!