package
Version:
v0.6.2
Opens a new window with list of versions in this module.
Published: Jan 12, 2024
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Script
Represents JavaScript code, need to be named for stacktrace purposes.
func (s *Script) EvalJSON(result interface{}, fnCall string, args ...interface{}) error
EvalJSON evaluates the script content and call `fnCall` the return value will be JSON-stringified
and unmarshaled back to `obj` with `json.Unmarshal`
Source Files
¶
Click to show internal directories.
Click to hide internal directories.