Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on My Go Resolutions for 2017. Parent comment
n := map[bool]func() int{ false: func() int { return falseExpr }, true: func() int { return trueExpr }, }[expr]()
Now, let's see how to abstract it with "go generate"...
There are no comments on this comment yet.
Now, let's see how to abstract it with "go generate"...