How can I use a dynamic js string to exec by goja?
heliping opened this issue · comments
heliping commented
My js scripts saved in Mysql. I want to exec the js after builded the golang package.
I have a gin web server, using the restful api reading scripts from Mysql.
And then want to use the scripts by goja.
But I got a nil pointer error.
Is there any solution for this?
heliping commented
solved