From ad98ed24f967021ab9c5293c8004127859496864 Mon Sep 17 00:00:00 2001 From: Asher Foa Date: Wed, 11 Sep 2024 15:06:07 -0400 Subject: [PATCH] inline stuff --- reporter/reporter.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/reporter/reporter.go b/reporter/reporter.go index 59fcd3f..12c58ea 100644 --- a/reporter/reporter.go +++ b/reporter/reporter.go @@ -106,8 +106,7 @@ func secondsToMillis(seconds float64) int64 { } func parseTimeString(timeString string) (int64, error) { - layout := time.RFC3339Nano - t, err := time.Parse(layout, timeString) + t, err := time.Parse(time.RFC3339Nano, timeString) if err != nil { return 0, err }