18 lines
382 B
Go
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
|
|
}
|