Go Concurrency

Idiomatic, leak-free Go concurrency. This skill should be used when a diff or question contains go func, chan, select, sync.WaitGroup/Mutex/Once, atomic, errgroup, context.WithCancel/Timeout/Cause, a retry or backoff loop, a worker pool, per-request cancellation, or a Close on a goroutine-owned resource — goroutine lifetime and leaks, context propagation and cancel causes, work outliving a request, typed atomics, mutex misuse, data races. Pair with go test -race and goleak. Time-dependent tests belong to go-testing (synctest). Go only.

Cadasto Updated

File contents

Cadasto/go-coding-plugin/tree/main/skills/go-concurrency commit 2f792fe4bf

Frequently asked questions

npx skillmds@latest add cadasto/go-concurrency