Skip to content

Commit 9cd5777

Browse files
committed
调整描述
1 parent f0f7677 commit 9cd5777

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

README.en.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ import (
3636
func main() {
3737
ctx := context.Background()
3838

39-
// Limits the number of simultaneous goroutines and not reuses them.
39+
// Limits goroutines.
4040
limiter := goes.NewLimiter(4)
4141

4242
for i := 0; i < 20; i++ {
@@ -48,7 +48,7 @@ func main() {
4848

4949
limiter.Wait()
5050

51-
// Limits the number of simultaneous goroutines and reuses them.
51+
// Reuses goroutines.
5252
executor := goes.NewExecutor(4)
5353
defer executor.Close()
5454

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ import (
3636
func main() {
3737
ctx := context.Background()
3838

39-
// Limits the number of simultaneous goroutines and not reuses them.
39+
// Limits goroutines.
4040
limiter := goes.NewLimiter(4)
4141

4242
for i := 0; i < 20; i++ {
@@ -48,7 +48,7 @@ func main() {
4848

4949
limiter.Wait()
5050

51-
// Limits the number of simultaneous goroutines and reuses them.
51+
// Reuses goroutines.
5252
executor := goes.NewExecutor(4)
5353
defer executor.Close()
5454

_examples/basic.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515
func main() {
1616
ctx := context.Background()
1717

18-
// Limits the number of simultaneous goroutines and not reuses them.
18+
// Limits goroutines.
1919
limiter := goes.NewLimiter(4)
2020

2121
for i := 0; i < 20; i++ {
@@ -27,7 +27,7 @@ func main() {
2727

2828
limiter.Wait()
2929

30-
// Limits the number of simultaneous goroutines and reuses them.
30+
// Reuses goroutines.
3131
executor := goes.NewExecutor(4)
3232
defer executor.Close()
3333

0 commit comments

Comments
 (0)