Whose Error Is It?
Go printed this
fatal error: all goroutines are asleep - deadlock!
What it meansEvery goroutine, including main, is blocked waiting on a channel or lock, so nothing can ever proceed and the runtime stops the program.
The first thing to checkUsually an unbuffered channel send has no receiver, or a WaitGroup never reaches zero; make sure each send has a receiver and channels get closed.
The walrus saysNobody is awake to wake anybody up.