redis rpc服务, 提供redis操作方法
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

21 lines
270 B

package redisrpc
import (
// "strconv"
"testing"
// "tgo/helper"
)
func Test_SAdd(t *testing.T) {
// reply, err := SAdd("test", "44")
reply, err := SIsmember("test", "44")
t.Log(reply)
t.Log(err)
reply, err = SRem("test", "44")
t.Log(reply)
t.Log(err)
}