wuxibin89 / redis-go-cluster

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

when use batch.Put("SET", redisKey, redisValue) && redis.Scan(reply, &s) it print error:Scan cannot convert from string to *string #17

Open justme9527 opened 7 years ago

justme9527 commented 7 years ago

var s string reply, err = redis.Scan(reply, &s) if err != nil { fmt.Println(err) } it print error: redigo: Scan cannot convert from string to *string