I am interested in Gopher-lua. I wanted to try a golang motor with lua script language. I am working in Ubuntu on a WMware virtual machine. In an attempt to improve my skills in go I found this example:
//code
package main
import ""
func main() {
L := lua.NewState()
defer L.Close()
if err := L.DoString(`print("Hello World")`); err != nil {
panic(err)
}
}
here:
I am using Visual studio code as an editor and it gives me the error Could not import
code I did: go get
any help is appreicated I am using lua 5.4.4 and GO 1.18