fix: 修复 go mod 模块名
This commit is contained in:
14
sync_map_test.go
Normal file
14
sync_map_test.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package td_mapping
|
||||
|
||||
import (
|
||||
"log"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestAA(t *testing.T) {
|
||||
var m Map[string, int]
|
||||
m.Store("a", 1234)
|
||||
|
||||
value, _ := m.Load("a")
|
||||
log.Println("value:", value)
|
||||
}
|
||||
Reference in New Issue
Block a user