Merge "cosmetics syntax simplification"

This commit is contained in:
Treehugger Robot 2022-10-26 14:58:07 +00:00 committed by Gerrit Code Review
commit 645184efb0

View file

@ -31,10 +31,8 @@ type EventHandler struct {
scopeStartTimes []time.Time
}
// _now wraps the time.Now() function. _now is declared for unit testing purpose.
var _now = func() time.Time {
return time.Now()
}
// _now simply delegates to time.Now() function. _now is declared for unit testing purpose.
var _now = time.Now
// Event holds the performance metrics data of a single build event.
type Event struct {