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