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.

18 lines
259 B

  1. package redisrpc
  2. import (
  3. // "strconv"
  4. "testing"
  5. // "tgo/helper"
  6. )
  7. func Test_LLpush(t *testing.T) {
  8. // val := map[string]interface{}{"id": "123", "name": "这是一个测试", "dis": "xxx"}
  9. reply, err := LLen("testing")
  10. t.Log(reply)
  11. t.Log(err)
  12. }