Duration returns the duration value of the timer in seconds.
()
| 47 | |
| 48 | // Duration returns the duration value of the timer in seconds. |
| 49 | func (t *Timer) Duration() float64 { |
| 50 | return t.duration.Seconds() |
| 51 | } |
| 52 | |
| 53 | // Return a string representation of the Timer. |
| 54 | func (t *Timer) String() string { |
no outgoing calls