yu-ykGo WaitGroup doesn’t wait exec.Command finishIn the last article, I introduced a way to do graceful shutdown in worker pool pattern using WaitGroup and Context. However things go wrong…3 min read·May 3, 2022----
yu-ykGraceful shutdown concurrent Go program with WaitGroup and ContextOne of the well known advantage of Go is its support of concurrency. Thanks for the goroutine and channel, it makes writing high…4 min read·May 2, 2022--1--1