Skip to content
Snippets Groups Projects
Unverified Commit dbf004f2 authored by Morgan Bazalgette's avatar Morgan Bazalgette
Browse files

(╯°□°)╯︵ ┻━┻ gofmt

parent c2ee0565
No related branches found
No related tags found
No related merge requests found
...@@ -61,7 +61,7 @@ func calculateAccuracy(count300, count100, count50, countgeki, countkatu, countm ...@@ -61,7 +61,7 @@ func calculateAccuracy(count300, count100, count50, countgeki, countkatu, countm
case 2: case 2:
fruits := count300 + count100 + count50 fruits := count300 + count100 + count50
totalFruits := fruits + countmiss + countkatu totalFruits := fruits + countmiss + countkatu
if (totalFruits == 0) { if totalFruits == 0 {
accuracy = 1 accuracy = 1
} else { } else {
accuracy = float64(fruits) / float64(totalFruits) accuracy = float64(fruits) / float64(totalFruits)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment