go 协程池

package main import ( "fmt" "log" "strconv" "sync" ) //定义任务接口 type Runnable interface { run() } //具体任务,实现任务接口 type Task struct { name string //任务数据 fun func(string) /
相关文章
相关标签/搜索