| 114 | } |
| 115 | |
| 116 | type AutoTaskModel struct { |
| 117 | thgo *threads.ThreadGo |
| 118 | Handle func(ctx context.Context) //需要实现这个方法 |
| 119 | } |
| 120 | |
| 121 | //任务名字(唯一性)需要重载更新这个名字 |
| 122 | func (task *AutoTaskModel) GetTaskName() string { |
nothing calls this directly
no outgoing calls
no test coverage detected