mirror of https://github.com/panjf2000/ants.git
🍑 Do gofmt
This commit is contained in:
parent
afb5322674
commit
05e96abd61
2
ants.go
2
ants.go
|
@ -69,7 +69,7 @@ var (
|
||||||
return 1
|
return 1
|
||||||
}()
|
}()
|
||||||
|
|
||||||
defaultAntsPool, _ = NewPool(DEFAULT_ANTS_POOL_SIZE)
|
defaultAntsPool, _ = NewPool(DEFAULT_ANTS_POOL_SIZE)
|
||||||
)
|
)
|
||||||
|
|
||||||
// Init a instance pool when importing ants.
|
// Init a instance pool when importing ants.
|
||||||
|
|
|
@ -128,4 +128,4 @@ func BenchmarkAntsPoolThroughput(b *testing.B) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
b.StopTimer()
|
b.StopTimer()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue