Browse Source

docs(shoppingsummarycounter): indentation fix

DEV-3376-pointers-drop-the-thread-multiple-issues
Tiago Collot 2 years ago
parent
commit
d1233266f9
  1. 13
      subjects/shoppingsummarycounter/README.md

13
subjects/shoppingsummarycounter/README.md

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

Loading…
Cancel
Save