Posted in 问题排查与答疑Golang服务启动卡在“waiting for dependencies”?深度剖析init()阻塞、sync.Once竞争与依赖注入时序陷阱(附pprof火焰图诊断模板) 第一章:Golang服务启动卡顿 … Golang服务启动卡在“waiting for dependencies”?深度剖析init()阻塞、sync.Once竞争与依赖注入时序陷阱(附pprof火焰图诊断模板)Read more by 性能优化专家|2026年2月4日|init函数阻塞, pprof火焰图诊断, Golang服务启动卡顿, sync.Once竞争, 依赖注入时序