From 5084471315cace97cd060af9da7e6a7855ed698c Mon Sep 17 00:00:00 2001 From: Tiago Collot Date: Thu, 22 Sep 2022 16:24:22 +0100 Subject: [PATCH] fix(shoppingsummarycounter): miss import piscine and add second # to the title --- subjects/shoppingsummarycounter/README.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/subjects/shoppingsummarycounter/README.md b/subjects/shoppingsummarycounter/README.md index 043817a7..5c190da3 100644 --- a/subjects/shoppingsummarycounter/README.md +++ b/subjects/shoppingsummarycounter/README.md @@ -1,4 +1,4 @@ -# shoppingsummarycounter +## shoppingsummarycounter ### Instructions @@ -21,12 +21,15 @@ Here is a possible program to test your function: ```go package main -import "fmt" +import ( + "fmt" + "piscine" +) func main() { - summary := "Burger Water Carrot Coffee Water Water Chips Carrot Carrot Burger Carrot Water" - for index,element := range 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) } } ```