Below is a small Go program. It launches one goroutine, uses an unbuffered done channel, and several defers.
You need to determine exactly what the program prints to stdout, and briefly explain the order of the lines based on the behavior of defer, close(done), and receiving from the channel.
stdout.done channel.main.go.go run .
The program always prints the same set of lines in the same order. You need to predict that order without changing the code.
1.24go run .done channel; main continues after an explicit wait on <-donestdout is consideredClick a line and write what it prints. Explanation is optional.