I found this <-(chan string)(nil) strange construct in the Gobetween sources.
<-(chan string)(nil)
select{}
The statement casts nil as type chan string, then reads from it.
nil
chan string
According to Dave Cheney's Channel Axioms:
A receive from a nil channel blocks forever