Skip to content

Commit

Permalink
update withHook set as WithHook
Browse files Browse the repository at this point in the history
  • Loading branch information
hongdingyi committed Nov 13, 2023
1 parent 3dd2e97 commit 4a80e71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/stores/redis/redis.go
Original file line number Diff line number Diff line change
Expand Up @@ -2842,7 +2842,7 @@ func WithTLS() Option {

// withHook customizes the given Redis with given hook, only for private use now,
// maybe expose later.
func withHook(hook red.Hook) Option {
func WithHook(hook red.Hook) Option {
return func(r *Redis) {
r.hooks = append(r.hooks, hook)
}
Expand Down

0 comments on commit 4a80e71

Please sign in to comment.