Open ghost opened 4 years ago
That is possible yes but you'll have to modify https://github.com/yuin/gopher-lua/blob/f46add6fdb5c3d93936a840f565e8e753a79ca34/cmd/glua/glua.go#L62 And add
L.PreloadModule("http", gluahttp.NewHttpModule(&http.Client{}).Loader)
Is it possible?
https://github.com/yuin/gopher-lua#standalone-interpreter