修复代码

This commit is contained in:
liwei1dao 2023-03-10 16:40:45 +08:00
parent 346b858bc9
commit d3952e521c

View File

@ -1,13 +1,12 @@
package comm package comm
import ( import (
"go_dreamfactory/pb"
"sync" "sync"
) )
var taskParamPool = &sync.Pool{ var taskParamPool = &sync.Pool{
New: func() interface{} { New: func() interface{} {
return &pb.AgentMessage{} return &TaskParam{}
}, },
} }