another map example explained
This commit is contained in:
parent
5f99c61ddf
commit
4274c71f77
1 changed files with 3 additions and 0 deletions
|
@ -19,4 +19,7 @@ func Demo1() {
|
||||||
value, is_value_there := my_dictionary["table"]
|
value, is_value_there := my_dictionary["table"]
|
||||||
fmt.Println(value)
|
fmt.Println(value)
|
||||||
fmt.Println("Listede olma durumu", is_value_there)
|
fmt.Println("Listede olma durumu", is_value_there)
|
||||||
|
|
||||||
|
my_dictionary2 := map[string]string{"glass":"bardak","microphone":"mikrofon"}
|
||||||
|
fmt.Println(my_dictionary2)
|
||||||
}
|
}
|
Loading…
Add table
Reference in a new issue