Skip to content

Commit

Permalink
style: format code with Go fmt and Gofumpt
Browse files Browse the repository at this point in the history
This commit fixes the style issues introduced in 3c66424 according to the output
from Go fmt and Gofumpt.

Details: None
  • Loading branch information
deepsource-autofix[bot] authored Jan 27, 2024
1 parent 3c66424 commit b7b2888
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ func main() {
<-c
elapsed := time.Since(start).Seconds()
// roundedElapsed := time.Duration(int64(elapsed*100)) * time.Millisecond
rps := float64(reqCount)/elapsed
rps := float64(reqCount) / elapsed
fmt.Printf(colourise(blue, "\nTotal time (s): %.2f\nRequests: %d\nRequests per second: %.2f\n"), elapsed, reqCount, rps)

os.Exit(0)
Expand Down

0 comments on commit b7b2888

Please sign in to comment.