hash-ring

This commit is contained in:
huangkanghui 2021-10-21 17:11:38 +08:00
parent f228712526
commit e4e5cd6019
1 changed files with 12 additions and 0 deletions

View File

@ -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)
}