delete has been implemented
This commit is contained in:
parent
3f96b32984
commit
19b2e77c02
1 changed files with 2 additions and 0 deletions
|
@ -11,4 +11,6 @@ func Demo1() {
|
||||||
|
|
||||||
fmt.Println(my_dictionary["book"])
|
fmt.Println(my_dictionary["book"])
|
||||||
fmt.Println("String number : ", len(my_dictionary))
|
fmt.Println("String number : ", len(my_dictionary))
|
||||||
|
delete(my_dictionary, "book")
|
||||||
|
fmt.Println("String number : ", len(my_dictionary))
|
||||||
}
|
}
|
Loading…
Add table
Reference in a new issue