We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
func (s *Redis) ExistsCtx(ctx context.Context, key string) (val bool, err error) { err = s.brk.DoWithAcceptable(func() error { conn, err := getRedis(s) if err != nil { return err }
v, err := conn.Exists(ctx, key).Result() // 这里go-redis是可以传入批量key的 if err != nil { return err } val = v == 1 return nil }, acceptable) return
} 这里可以加入多个传入吗,为什么只能传入单个啊
The text was updated successfully, but these errors were encountered:
Woud you please submit a PR?
Sorry, something went wrong.
I am interested in this issue and hope to assist in resolving it.Thanks.
Successfully merging a pull request may close this issue.
func (s *Redis) ExistsCtx(ctx context.Context, key string) (val bool, err error) {
err = s.brk.DoWithAcceptable(func() error {
conn, err := getRedis(s)
if err != nil {
return err
}
}
这里可以加入多个传入吗,为什么只能传入单个啊
The text was updated successfully, but these errors were encountered: