go-defer-analysis February 7, 2026 26 words • 1 min read Write your blog post content here. This is a new blog post... #Backend#Go
Go 并发模式 February 4, 2026 653 words • 4 min read > 在写连接池的时候遇到了一些并发的问题,在这里记录一下。 假设我们有一个管理 Docker 连接的连接池,我们需要检查池子是否需要补充新的容器。下面是一个最简单的实现: ```go func (p *Pool) maintainPool() { p. Lock() currentCount := len(p... #Backend#Go#Concurrency