1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-28 06:42:00 +03:00

gofumports

This commit is contained in:
Vladimir Mihailenco
2020-07-16 09:52:07 +03:00
parent 62469e4f42
commit 14c843ef89
15 changed files with 72 additions and 87 deletions

View File

@ -10,8 +10,10 @@ import (
"github.com/go-redis/redis/v8"
)
var ctx = context.Background()
var rdb *redis.Client
var (
ctx = context.Background()
rdb *redis.Client
)
func init() {
rdb = redis.NewClient(&redis.Options{