Why does the use of an unbuffered channel in the same goroutine result in a deadlock? Why does the use of an unbuffered channel in the same goroutine result in a deadlock? go go

Why does the use of an unbuffered channel in the same goroutine result in a deadlock?