QuackatronHQ / Gigarepo

Found time.Now().Sub(t) instead of time.Since(t) SCC-S1012
Anti-pattern
Major
1 occurrence in this check
should use time.Since instead of time.Now().Sub
74}
75
76func timer(t0 time.Time) time.Duration {
77	dur := time.Now().Sub(t0)78	return dur
79}
80