Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
realjf committed Nov 24, 2022
1 parent c88b019 commit b643905
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ task.SetCallbackFunc(callbackFunc CallbackFunc)
task.SetArgs(args any)
task.SetId(id int)
```
#### design your task by implement ITask interface
#### Design your task by implement ITask interface(自定义任务结构体,只需要实现ITask接口即可)
```go
type ITask interface {
Execute() error
Expand Down

0 comments on commit b643905

Please sign in to comment.