diff --git a/pkg/hash-ring/hashRing_test.go b/pkg/hash-ring/hashRing_test.go new file mode 100644 index 0000000..7bd9b8a --- /dev/null +++ b/pkg/hash-ring/hashRing_test.go @@ -0,0 +1,12 @@ +package hashring + +import ( + "fmt" + "testing" +) + +func TestTarget_GetAddrString(t *testing.T) { + var addrss = []string{"195","444"} + target := addAddrString(addrss) + fmt.Println(target) +}