Documentation ¶
Index ¶
- Variables
- func ParseInputs(data []byte) []interface{}
- type Goja
- func (g *Goja) RunScript(ctx context.Context, script string, inputs []interface{}) ([]byte, error)
- func (g *Goja) RunString(value string) (goja.Value, error)
- func (g *Goja) Set(name string, data interface{}) error
- func (g *Goja) SetData(data interface{}) error
- func (g *Goja) SetFunction(name string, fn interface{})
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrThrow = errors.New("throw")
Functions ¶
func ParseInputs ¶
func ParseInputs(data []byte) []interface{}
Types ¶
Click to show internal directories.
Click to hide internal directories.