Versions in this module Expand all Collapse all v0 v0.27.1 Jul 30, 2020 Changes in this version + func Bind(rt *goja.Runtime, v interface{}, ctxPtr *context.Context) map[string]interface + func BindToGlobal(rt *goja.Runtime, data map[string]interface{}) func() + func FieldName(t reflect.Type, f reflect.StructField) string + func GetRuntime(ctx context.Context) *goja.Runtime + func MethodName(t reflect.Type, m reflect.Method) string + func NewRandSource() goja.RandSource + func RunES6String(rt *goja.Runtime, src string) (goja.Value, error) + func RunString(rt *goja.Runtime, src string) (goja.Value, error) + func Throw(rt *goja.Runtime, err error) + func WithRuntime(ctx context.Context, rt *goja.Runtime) context.Context + type FieldNameMapper struct + func (FieldNameMapper) FieldName(t reflect.Type, f reflect.StructField) string + func (FieldNameMapper) MethodName(t reflect.Type, m reflect.Method) string + type InitContextError string + func NewInitContextError(msg string) InitContextError + func (i InitContextError) Error() string + func (i InitContextError) String() string