package
Version:
v0.72.1
Opens a new window with list of versions in this module.
Published: May 30, 2023
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func CallJsFunc(funcName string, funcParams interface{}) interface{}
for testing
func CallJsFuncs(funcName string, funcParams interface{}) interface{}
for testing
func InitJsFunctions(jsFileList []string)
trial code for js
func RunProgram(p *goja.Program, funcParams interface{}) interface{}
type GJsBasics struct {
JsSourceFilePath string
JsSourceFileName string
JsFunctionName string
JsFunctionInParams interface{}
JsFunctionOut interface{}
JsProgram *goja.Program
}
mvp, one js file has only one function
Source Files
¶
Click to show internal directories.
Click to hide internal directories.