Implemented StrAnyMap Example

This commit is contained in:
huangqian
2021-11-20 08:13:10 +08:00
parent 51fd87bc01
commit 49edad0216

View File

@ -59,7 +59,7 @@ func ExampleStrAnyMap_Map() {
fmt.Println("after n1:", n1)
// concurrent-safety, copy of underlying data
m2 := gmap.New(true)
m2 := gmap.NewStrAnyMap(true)
m2.Set("key1", "val1")
fmt.Println("m2:", m2)