18 lines
397 B
Go
18 lines
397 B
Go
package caninerabbit
|
|
|
|
import (
|
|
"go_dreamfactory/lego/core"
|
|
"go_dreamfactory/modules"
|
|
)
|
|
|
|
type apiComp struct {
|
|
modules.MCompGate
|
|
module *CanineRabbit
|
|
}
|
|
|
|
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.(*CanineRabbit)
|
|
return
|
|
}
|