diff --git a/controller.go b/controller.go index 0781745..5152248 100644 --- a/controller.go +++ b/controller.go @@ -61,6 +61,10 @@ func (this BaseController) Container() *do.Injector { return this.container } +func (BaseController) Init() error { + return nil +} + func (this BaseController) Dispatch(job string, payload any, u User) error { return do.MustInvoke[JobService](this.Container()).Dispatch(job, payload, u) }