Unstick a Handshake
Hard · Concurrency
Two goroutines each send then receive on two unbuffered channels — that deadlocks. Fix Handshake() so both finish and it returns "ok". Buffer a channel, or swap one side to receive first, or use select.
Write Handshake() that returns "ok" without hanging.
Next: Quote an Identifier