From d1233266f90ea69b3f8de2f7ca4509ac7793943e Mon Sep 17 00:00:00 2001 From: Tiago Collot Date: Thu, 13 Oct 2022 15:38:21 +0100 Subject: [PATCH] docs(shoppingsummarycounter): indentation fix --- subjects/shoppingsummarycounter/README.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/subjects/shoppingsummarycounter/README.md b/subjects/shoppingsummarycounter/README.md index 20ec3a0f..a9cb67a0 100644 --- a/subjects/shoppingsummarycounter/README.md +++ b/subjects/shoppingsummarycounter/README.md @@ -22,16 +22,17 @@ 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) + } } + ``` And its output: