I need to execute code dynamically, for example to run fmt.Print("hello")
(in string format), maybe what I am looking for is a go virtual machine?
With go-playground, we can type the code and execute it, how does that work behind?
The worst solution would be to write string code to a file and call it with exec.Command("go", "run","file")
.