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.
 

22 lines
244 B

package redisrpc
import (
"testing"
// "time"
)
func Test_Incrby(t *testing.T) {
c, err := Incrby("test_incrby", 10)
t.Log(c)
t.Log(err)
}
func Test_Decrby(t *testing.T) {
c, err := Decrby("test_incrby", 2)
t.Log(c)
t.Log(err)
}