Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Sajmani
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
1.
▲
by
Sajmani
8y ago
The "go release" command is intended to support selecting the right version for a new package release. The golang.org/cmd/api command detects incompatible API changes and so can serve as the basis for an auto-bump featur
2.
▲
by
Sajmani
10y ago
And these numbers are 5 years old :-)
3.
▲
by
Sajmani
12y ago
Yes, we are working on static analysis and automated refactoring tools. We will make them available publicly when they are ready, but that won't be very soon. We wanted to publicize Context now to encourage people to start using it a
4.
▲
by
Sajmani
12y ago
In Google, we use two approaches: 1) add an explicit Context parameter to each function that needs one; typically this is the first parameter and is named "ctx". This makes it obvious how to cancel that function and pass stuff th
5.
▲
by
Sajmani
13y ago
Yes, interrupt is better, and the article explains how to do that a few paragraphs later: for n := range in { select { case out <- n * n: case <-done: return }