go-pkgz / syncs

Concurrency and synchronization primitives
https://go-pkgz.umputun.dev/syncs/
MIT License
136 stars 13 forks source link

FIX README.md #3

Closed galaxyhao closed 2 years ago

galaxyhao commented 2 years ago

Hi @umputun : I found the example code has a syntax error,so i fix it. before: swg.Go(fn func(ctx context.Context){ after: swg.Go(func(ctx context.Context){