From 5e6df169a21e50669845712c3924cfd6e0e8b098 Mon Sep 17 00:00:00 2001 From: Puru <40428133+tuladhar-p@users.noreply.github.com> Date: Thu, 17 Jan 2019 11:34:35 +0545 Subject: [PATCH] Add newline to make output pretty --- structures/maps.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/structures/maps.go b/structures/maps.go index 6aede22..28a0358 100644 --- a/structures/maps.go +++ b/structures/maps.go @@ -23,7 +23,7 @@ func main() { sim["TWO"] = 2 //...and read from it - fmt.Printf("%d %d %d", sim["ONE"], sim["TWO"], sim["THREE"]) + fmt.Printf("%d %d %d\n", sim["ONE"], sim["TWO"], sim["THREE"]) //If you request a key that is not present in the map, you will receive the ZERO VALUE for the map's value type //In the example above, requesting sim["THREE"] returns 0, because that is the zero value for int