Why set() return syntax error? #1901
Unanswered
qianqinpan
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
my code is here:
rdb := redis.NewClient(&redis.Options{
Addr: "192.168.1.209:6379",
Password: "", // no password set
DB: 0, // use default DB
})
str,err:=rdb.Ping(ctx).Result()
e.Logger.Infof("redis Ping result:%s,%v",str,err)
the err is : ERR syntax error
Beta Was this translation helpful? Give feedback.
All reactions