format codes

This commit is contained in:
andy pan 2018-07-31 11:05:48 +08:00
parent 59ad1fa56c
commit 39951bd2f5
2 changed files with 0 additions and 2 deletions

View File

@ -182,7 +182,6 @@ func (p *Pool) decrRunning() {
atomic.AddInt32(&p.running, -1)
}
// getWorker returns a available worker to run the tasks.
func (p *Pool) getWorker() *Worker {
var w *Worker

View File

@ -187,7 +187,6 @@ func (p *PoolWithFunc) decrRunning() {
atomic.AddInt32(&p.running, -1)
}
// getWorker returns a available worker to run the tasks.
func (p *PoolWithFunc) getWorker() *WorkerWithFunc {
var w *WorkerWithFunc