metrics: Timer comment grammar feedback
Peter Bourgon
7 years ago
8 | 8 |
t time.Time
|
9 | 9 |
}
|
10 | 10 |
|
11 | |
// NewTimer wraps the given histogram and marks the current time.
|
|
11 |
// NewTimer wraps the given histogram and records the current time.
|
12 | 12 |
func NewTimer(h Histogram) *Timer {
|
13 | 13 |
return &Timer{
|
14 | 14 |
h: h,
|