Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Ask HN: Why isn't Erlang more popular?. Parent comment
Select in Go only blocks if you don't feel out the "default:" case...
select { case: foo := <-fooCh fmt.Printf("got %v\n", foo) default: fmt.Println("got nothing") }
There are no comments on this comment yet.
Select in Go only blocks if you don't feel out the "default:" case...