Go Concurrency

Enforces safe Go concurrency — every goroutine has a known stop condition, context propagates cancellation, channel ownership and direction are explicit, and shared state is protected or not shared. Use when writing or reviewing Go that starts goroutines, uses channels, sync primitives, or context, and when the user mentions goroutine leaks, deadlock, data race, WaitGroup, errgroup, select, mutex, worker pool, "-race", or asks "is this concurrent code safe", "why does this hang".

CasLubbers Updated

File contents

CasLubbers/code-design-skills/tree/main/skills/go-concurrency commit e60a771251

Frequently asked questions

npx skillmds@latest add caslubbers/go-concurrency