بازگشت به نتایج جستجو

samber / AGENT SKILL

golang-concurrency

فارسی + English

این اسکیل چه می‌کند؟

الگوی concurrency در Go.

ORIGINAL DESCRIPTION

Golang concurrency patterns.

چه زمانی به کار می‌آید؟

برای goroutine، channel، select، lock، sync، errgroup، singleflight، worker pool و fan-out/fan-in؛ همچنین goroutine leak، race، channel ownership یا انتخاب channel/mutex.

WHEN TO USE

when writing or reviewing concurrent Go code involving goroutines, channels, select, locks, sync primitives, errgroup, singleflight, worker pools, or fan-out/fan-in pipelines. Also triggers when you detect goroutine leaks, race conditions, channel ownership issues, or need to choose between channels and mutexes

کاربردهای مرتبط

برچسب‌گذاری خودکار بر اساس نام و توضیح؛ ممکن است نیازمند اصلاح باشد.