diff --git a/ants.go b/ants.go index 3dde641..8187074 100644 --- a/ants.go +++ b/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. diff --git a/ants_benchmark_test.go b/ants_benchmark_test.go index 90badf9..da8c08d 100644 --- a/ants_benchmark_test.go +++ b/ants_benchmark_test.go @@ -128,4 +128,4 @@ func BenchmarkAntsPoolThroughput(b *testing.B) { } } b.StopTimer() -} \ No newline at end of file +}