func GetInterface() js.Value {
	singleton.Do(func() {
		var err error
		if consoleinterface, err = baseobject.Get(js.Global(), "console"); err != nil {
			consoleinterface = js.Undefined()
		}
		baseobject.Register(consoleinterface, func(v js.Value) (interface{}, error) {
			return NewFromJSObject(v)
		})
	})
	return consoleinterface
}
GetInterface get teh JS interface of event
package console
import (
	"sync"
	"syscall/js"
	"github.com/realPy/hogosuru/baseobject"
)
var singleton sync.Once
var consoleinterface js.Value
type Console struct {
	baseobject.BaseObject
}
type ConsoleFrom interface {
	Console_() Console
}
func (c Console) Console_() Console {
	return c
}