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

package redis
import (
"testing"
// "time"
)
func Test_Get(t *testing.T) {
reply, err := Get("siteListCache")
t.Log(reply)
t.Log(err)
}
func Test_Set(t *testing.T) {
c, err := Set("test", 1111, 7200)
t.Log(c)
t.Log(err)
}