Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cronos
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
31.
▲
by
cronos
13y ago
You're right. Thanks for explanation.
32.
▲
by
cronos
13y ago
I believe you have a race in that code on error channel. You can't guarantee that the value you send on it will be received by correct receiver. If you have 2 concurrent transfers and one errors and the other succeds, second one may r
33.
▲
by
cronos
13y ago
Why exactly do Resource's methods take variadic argument? In what scenario can there be more than one? Also, small remarks about code: You define type HandleFunc in your package which is identical to http.HandlerFunc. Looks like it can