Go Concurrency Patterns

当编写 Go 并发代码、需实现 worker pool/流水线、管理 goroutine 生命周期或排查数据竞争时使用;产出基于 goroutine、channel、sync 原语与 context 的可落地并发模式与代码(worker pool、fan-out/fan-in、信号量限流、优雅关停、errgroup、sync.Map)及竞态检测命令;不适用于非 Go 语言或纯串行逻辑;触发词:goroutine、channel、worker pool、context、data race、errgroup。

findscripter f78163f 6.6 KB Updated

File contents

findscripter/everything-skills/tree/main/02-engineering/go-concurrency-patterns commit f78163fd74

Frequently asked questions

npx skillmds@latest add findscripter/go-concurrency-patterns