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
194 B

3 years ago
  1. package redis
  2. import (
  3. "testing"
  4. )
  5. func Test_SetAdd(t *testing.T) {
  6. reply, err := Set(123, "不知道433ee4")
  7. t.Log(reply)
  8. t.Log(err)
  9. ret, err := Get("123")
  10. t.Log(ret)
  11. t.Log(err)
  12. }