perf👌: Optimize go warnings

This commit is contained in:
wenjianzhang
2023-08-01 22:38:41 +08:00
parent 69df1b3d34
commit 37a5963cd6
41 changed files with 83 additions and 87 deletions
+2 -2
View File
@@ -7,10 +7,10 @@ type Job interface {
addJob(*cron.Cron) (int, error)
}
type JobsExec interface {
type JobExec interface {
Exec(arg interface{}) error
}
func CallExec(e JobsExec, arg interface{}) error {
func CallExec(e JobExec, arg interface{}) error {
return e.Exec(arg)
}