From 728572cb510fde33f57cf2f67de955711b2828e2 Mon Sep 17 00:00:00 2001 From: Tom Wilkie Date: Sun, 24 Jan 2016 14:06:44 -0800 Subject: [PATCH] Lint --- report/latest_map.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/report/latest_map.go b/report/latest_map.go index 20ded1b07..226438ab8 100644 --- a/report/latest_map.go +++ b/report/latest_map.go @@ -24,9 +24,10 @@ type LatestEntry struct { } func (e LatestEntry) String() string { - return fmt.Sprintf("\"%s\" (%d)", e.Value, e.Timestamp.String()) + return fmt.Sprintf("\"%s\" (%s)", e.Value, e.Timestamp.String()) } +// Equal returns true if the supplied LatestEntry is equal to this one. func (e LatestEntry) Equal(e2 LatestEntry) bool { return e.Timestamp.Equal(e2.Timestamp) && e.Value == e2.Value }