github.com/nibnait/go-learn@v0.0.0-20220227013611-dfa47ea6d2da/src/test/chapter/ch3/package/23_remote_package_test.go (about)

     1  package _package
     2  
     3  import (
     4  	cm "github.com/easierway/concurrent_map"
     5  	"testing"
     6  )
     7  
     8  func TestConcurrentMap(t *testing.T) {
     9  	m := cm.CreateConcurrentMap(99)
    10  	m.Set(cm.StrKey("key"), 10)
    11  	t.Log(m.Get(cm.StrKey("key")))
    12  }