[feat] job 优化
This commit is contained in:
parent
b2a2d70f66
commit
217e5d14df
4
job.go
4
job.go
@ -1,8 +1,6 @@
|
|||||||
package contracts
|
package contracts
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
|
||||||
|
|
||||||
"github.com/samber/do"
|
"github.com/samber/do"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -27,7 +25,7 @@ type JobBase struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (JobBase) Handle(any) error {
|
func (JobBase) Handle(any) error {
|
||||||
return fmt.Errorf("")
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func NewJobBase(container *do.Injector) Job {
|
func NewJobBase(container *do.Injector) Job {
|
||||||
|
Loading…
Reference in New Issue
Block a user