go_dreamfactory/modules/catchbugs/api.go
2023-11-08 21:41:51 +08:00

18 lines
388 B
Go

package catchbugs
import (
"go_dreamfactory/lego/core"
"go_dreamfactory/modules"
)
type apiComp struct {
modules.MCompGate
module *CatchBugs
}
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.(*CatchBugs)
return
}