cosmetics syntax simplification
Bug: N/A Test: m nothing Change-Id: I9b34635ba145db568e185f795107c202e376f3c7
This commit is contained in:
parent
ad9fbde7de
commit
63cad2c08f
1 changed files with 2 additions and 4 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue