Codebase list golang-github-go-kit-kit / 1cca2e4
metrics: Timer comment grammar feedback Peter Bourgon 7 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
88 t time.Time
99 }
1010
11 // NewTimer wraps the given histogram and marks the current time.
11 // NewTimer wraps the given histogram and records the current time.
1212 func NewTimer(h Histogram) *Timer {
1313 return &Timer{
1414 h: h,