From 5f99c61ddf8d29a809b4a5abf583112fa0c5cd76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mert=20G=C3=B6r?= Date: Tue, 16 Jan 2024 02:37:54 +0300 Subject: [PATCH] is value there bool/true or false explained --- maps/demo1.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/maps/demo1.go b/maps/demo1.go index a354f90..c934157 100644 --- a/maps/demo1.go +++ b/maps/demo1.go @@ -16,6 +16,7 @@ func Demo1() { fmt.Println("String number : ", len(my_dictionary)) fmt.Println("Dictionary", my_dictionary) - value := my_dictionary["table"] + value, is_value_there := my_dictionary["table"] fmt.Println(value) + fmt.Println("Listede olma durumu", is_value_there) } \ No newline at end of file