go_dreamfactory/modules/egghunt/api.go
2023-11-02 14:35:04 +08:00

18 lines
382 B
Go

package egghunt
import (
"go_dreamfactory/lego/core"
"go_dreamfactory/modules"
)
type apiComp struct {
modules.MCompGate
module *Egghunt
}
func (this *apiComp) Init(service core.IService, module core.IModule, comp core.IModuleComp, options core.IModuleOptions) (err error) {
_ = this.MCompGate.Init(service, module, comp, options)
this.module = module.(*Egghunt)
return
}