Skip to content

Commit

Permalink
Go的依赖管理入门代码练习
Browse files Browse the repository at this point in the history
  • Loading branch information
SOYANGA committed Sep 26, 2019
1 parent a8d5319 commit 796014d
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions code/ch14/remote_package/remote_package_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package remote

import (
"testing"

cm "github.com/easierway/concurrent_map"
)

func TestConcurrentMap(t *testing.T) {
m := cm.CreateConcurrentMap(99)
m.Set(cm.StrKey("key"), 10)
t.Log(m.Get(cm.StrKey("key")))
}

0 comments on commit 796014d

Please sign in to comment.