wuxibin89 / redis-go-cluster

redis cluster client implementation in Go
Apache License 2.0
488 stars 145 forks source link

can you add a new tag update to master #41

Open dwscu opened 3 years ago

dwscu commented 3 years ago

hello,can you add a new tag update to master? when I use go mod to import your library,it always download v1.0.0 tag which is old version code, and get value from redis6.0+ would be crash like this:

panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x4f82e3]

goroutine 22 [running]: github.com/chasex/redis-go-cluster.(redisConn).shutdown(...) /home/danwei/rtb/golang/gopath/pkg/mod/github.com/chasex/redis-go-cluster@v1.0.0/node.go:146 github.com/chasex/redis-go-cluster.(redisNode).do(0xc000272400, 0x532324, 0x3, 0xc0000125b0, 0x1, 0x1, 0x8, 0x10, 0x7f05dd263108, 0xc0000125c0) /home/danwei/rtb/golang/gopath/pkg/mod/github.com/chasex/redis-go-cluster@v1.0.0/node.go:192 +0x243 github.com/chasex/redis-go-cluster.(*redisCluster).Do(0xc0000bc000, 0x532324, 0x3, 0xc0000125b0, 0x1, 0x1, 0x4, 0x0, 0x0, 0x0) /home/danwei/rtb/golang/gopath/pkg/mod/github.com/chasex/redis-go-cluster@v1.0.0/cluster.go:254 +0x21d main.main.func1(0xc00018e010, 0x55b920, 0xc0000bc000, 0x3) /home/danwei/rtb/golang/test/test2.go:34 +0x1e4 created by main.main /home/danwei/rtb/golang/test/test2.go:29 +0x1aa

would you please add a new tag and push the master code to it