summaryrefslogtreecommitdiffstats
path: root/internal/pausedtimer/timer.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--internal/pausedtimer/timer.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/pausedtimer/timer.go b/internal/pausedtimer/timer.go
index 691c257..6ff212c 100644
--- a/internal/pausedtimer/timer.go
+++ b/internal/pausedtimer/timer.go
@@ -22,6 +22,7 @@ func New(d time.Duration) *PauseTimer {
ret.Ticker = time.NewTicker(math.MaxInt64)
ret.Reset(0)
}
+
return ret
}
@@ -29,6 +30,7 @@ func New(d time.Duration) *PauseTimer {
func NewStopped(d time.Duration) *PauseTimer {
ret := New(d)
ret.Stop()
+
return ret
}