// Copyright 2021 Liuxiangchao iwind.liu@gmail.com. All rights reserved. //go:build script package js type JSBaseLibrary struct { } func (this *JSBaseLibrary) JSInit(ctx *Context) { } func (this *JSBaseLibrary) JSDone(ctx *Context) { } func (this *JSBaseLibrary) JSDispose(ctx *Context) { } func (this *JSBaseLibrary) JSGoObjectNotFound() (any, error) { return nil, ErrGoObjectNotFound } func (this *JSBaseLibrary) JSSuccess() (any, error) { return nil, nil }