Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Leaving Go. Parent comment
But the short variable declaration in the type switch does indeed save the casts the OP was complaining about.
Even more correct and horrible: http://play.golang.org/p/ZMQKQhuUQT
There are no comments on this comment yet.
But the short variable declaration in the type switch does indeed save the casts the OP was complaining about.
Even more correct and horrible: http://play.golang.org/p/ZMQKQhuUQT