Skip to content

Commit

Permalink
fix: db redis
Browse files Browse the repository at this point in the history
  • Loading branch information
moocss committed Aug 23, 2024
1 parent ee279cf commit 0f342bd
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions db/redis/wrapper.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,21 @@ import (
var _ Database = (*Helper)(nil)

type (
// Options is an alias of redis.Options.
Options = redis.Options
// Client is an alias of redis.Client.
Client = redis.Client
// Tx is an alias of redis.Tx.
Tx = redis.Tx
// Cmdable is an alias of redis.Cmdable.
Cmdable = redis.Cmdable
// Pipeline is an alias of redis.Pipeline.
Pipeline = redis.Pipeline

// StatusCmd is an alias of redis.StatusCmd.
StatusCmd = redis.StatusCmd
// StringSliceCmd is an alias of redis.StringSliceCmd.
StringSliceCmd = redis.StringSliceCmd
// BoolCmd is an alias of redis.BoolCmd.
BoolCmd = redis.BoolCmd
// IntCmd is an alias of redis.IntCmd.
Expand Down

0 comments on commit 0f342bd

Please sign in to comment.