func GetInterface() js.Value {
	singleton.Do(func() {
		var err error
		if dateinterface, err = baseobject.Get(js.Global(), "Date"); err != nil {
			dateinterface = js.Undefined()
		}
		baseobject.Register(dateinterface, func(v js.Value) (interface{}, error) {
			return NewFromJSObject(v)
		})
	})
	return dateinterface
}
GetJSInterface get teh JS interface of broadcast channel
package date
import (
	"sync"
	"syscall/js"
	"github.com/realPy/hogosuru/baseobject"
	"github.com/realPy/hogosuru/object"
)
var singleton sync.Once
var dateinterface js.Value