From 2ce67cb067999d481e40ae64ecb4da09cb1d4395 Mon Sep 17 00:00:00 2001 From: Orest Ivasiv Date: Tue, 14 Nov 2023 20:18:15 +0100 Subject: [PATCH] upd go map.md --- docs/wiki/Lang-Go/Cookbook/map.md | 27 ++++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) diff --git a/docs/wiki/Lang-Go/Cookbook/map.md b/docs/wiki/Lang-Go/Cookbook/map.md index 533417d..078e08d 100644 --- a/docs/wiki/Lang-Go/Cookbook/map.md +++ b/docs/wiki/Lang-Go/Cookbook/map.md @@ -16,8 +16,14 @@ import ( ) var ( - barVal = map[string]int{"alpha": 1, "bravo": 2, "charlie": 3, "delta": 4, - "echo": 5, "foxtrot": 6} + barVal = map[string]int{ + "alpha": 1, + "bravo": 2, + "charlie": 3, + "delta": 4, + "echo": 5, + "foxtrot": 6, + } ) func main() { @@ -67,9 +73,20 @@ import ( ) var ( - barVal = map[string]int{"alpha": 34, "bravo": 56, "charlie": 23, "delta": 87, - "echo": 56, "foxtrot": 12, "golf": 34, "hotel": 16, "indio": 87, "juliet": 65, "kilo": 43, - "lima": 98} + barVal = map[string]int{ + "alpha": 34, + "bravo": 56, + "charlie": 23, + "delta": 87, + "echo": 56, + "foxtrot": 12, + "golf": 34, + "hotel": 16, + "indio": 87, + "juliet": 65, + "kilo": 43, + "lima": 98, + } ) func main() {