From 39951bd2f5ea2c26a024b4177e867aac92055791 Mon Sep 17 00:00:00 2001 From: andy pan Date: Tue, 31 Jul 2018 11:05:48 +0800 Subject: [PATCH] format codes --- pool.go | 1 - pool_func.go | 1 - 2 files changed, 2 deletions(-) diff --git a/pool.go b/pool.go index 03f88c0..96873cd 100644 --- a/pool.go +++ b/pool.go @@ -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 diff --git a/pool_func.go b/pool_func.go index 4b59bc1..ee8c9c5 100644 --- a/pool_func.go +++ b/pool_func.go @@ -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