摘要: 代码 package main import ( "errors" "fmt" "sync" "time" ) type Pool interface { Run(task *Task) error } type Task struct { // 任务名 Name string // 任务回调函数 阅读全文
posted @ 2022-08-05 10:19 紫色飞猪 阅读(469) 评论(0) 推荐(0) 编辑