-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PROPOSAL: remove timer.go #11
Comments
Excellent. Will review shortly.
|
Sounds reasonable to me. I don't think anyone else is using it, since the API never matured—as you can see from just how rough it is. For the future: Often times |
Great. I'll make a PR. Should I base off master, or the reorganization branch? Bernerd On Apr 19, 2013, at 13:13, "Matt T. Proud" [email protected] wrote:
|
I would clone my reorganization branch. 2013/4/19 Bernerd Schaefer [email protected]
|
This is merged into the refactor branch. Closing. |
To me the following code is simpler, more idiomatic, and gives the same results as the timer API:
Also, as @matttproud notes the current timer code fails in the presence of a panic, while this does not.
For comparison, see the current registry handler vs. a version using the above pattern.
The text was updated successfully, but these errors were encountered: