mirror of
https://github.com/charlienet/go-mixed.git
synced 2025-07-18 08:32:40 +08:00
sort map move to generics
This commit is contained in:
@ -13,8 +13,8 @@ import (
|
||||
func TestConcurrentMap(t *testing.T) {
|
||||
t.Log(runtime.GOMAXPROCS(runtime.NumCPU()))
|
||||
|
||||
key := "abc"
|
||||
value := "bcd"
|
||||
key := "aaabc"
|
||||
value := "aabcd"
|
||||
|
||||
m := generics.NewConcurrnetMap[string, string]()
|
||||
m.Set(key, value)
|
||||
|
Reference in New Issue
Block a user