docs(shoppingsummarycounter): fix indentation

This commit is contained in:
Tiago Collot 2022-09-29 17:42:37 +01:00
parent 5084471315
commit 43291628d3
1 changed files with 6 additions and 6 deletions

View File

@ -22,15 +22,15 @@ Here is a possible program to test your function:
package main
import (
"fmt"
"piscine"
"fmt"
"piscine"
)
func main() {
summary := "Burger Water Carrot Coffee Water Water Chips Carrot Carrot Burger Carrot Water"
for index,element := range piscine.ShoppingSummaryCounter(summary){
fmt.Println(index,"=>",element)
}
summary := "Burger Water Carrot Coffee Water Water Chips Carrot Carrot Burger Carrot Water"
for index, element := range piscine.ShoppingSummaryCounter(summary) {
fmt.Println(index,"=>",element)
}
}
```