Posted in Go语言基础和工具链Go语言第18讲——context.Context接口的隐藏契约(超时传递、取消链、WithValue滥用红线) 第一章:context.Cont … Go语言第18讲——context.Context接口的隐藏契约(超时传递、取消链、WithValue滥用红线)Read more by Go语言爱好者|2026年5月11日|Go语言编程实践, WithValue滥用, 取消链路传播, 超时传递校验, context.Context误用
Posted in 问题排查与答疑Go context.Context滥用重灾区:在struct字段中存储context、跨goroutine传递未WithTimeout的context、Value键冲突导致数据污染 第一章:Go context.C … Go context.Context滥用重灾区:在struct字段中存储context、跨goroutine传递未WithTimeout的context、Value键冲突导致数据污染Read more by Go语言笔记|2026年5月10日|goroutine上下文传递, context.Context误用, Go并发编程技巧, 空context滥用, Go动态加载, context.Value键冲突
Posted in 问题排查与答疑Go HTTP请求上下文(context.Context)误用TOP3:cancel泄漏、deadline覆盖、Value竞态 第一章:Go HTTP请求上下文 … Go HTTP请求上下文(context.Context)误用TOP3:cancel泄漏、deadline覆盖、Value竞态Read more by Go语言实验室|2026年4月26日|Go动态加载, Cancel泄漏, HTTP请求上下文, atomic.Value竞态问题, Deadline覆盖, context.Context误用