Skip to content

Commit 98f4348

Browse files
committed
Making the timing output jq friendly.
1 parent 768678d commit 98f4348

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,5 @@ func main() {
4141
parseProduct(result)
4242
}
4343

44-
fmt.Printf("Total time: %s for {%d} records.\n", time.Since(now), len(results))
44+
fmt.Printf("{\"time\": \"%s\", \"count\": %d}\n", time.Since(now), len(results))
4545
}

0 commit comments

Comments
 (0)