Skip to content

Commit acc0685

Browse files
committedMar 21, 2023
update
1 parent 4263de6 commit acc0685

File tree

3 files changed

+113
-81
lines changed

3 files changed

+113
-81
lines changed
 

‎go.mod

+21-17
Original file line numberDiff line numberDiff line change
@@ -8,68 +8,72 @@ require (
88
github.com/disintegration/imaging v1.6.2
99
github.com/gertd/go-pluralize v0.2.1
1010
github.com/getsentry/sentry-go v0.13.0
11-
github.com/gin-gonic/gin v1.8.0
12-
github.com/go-redis/redis/v9 v9.0.0-beta.1
11+
github.com/gin-gonic/gin v1.9.0
1312
github.com/golang-jwt/jwt/v4 v4.4.2
1413
github.com/iancoleman/strcase v0.2.0
1514
github.com/jordan-wright/email v4.0.1-0.20210109023952-943e75fe5223+incompatible
1615
github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d
1716
github.com/mojocn/base64Captcha v1.3.5
17+
github.com/redis/go-redis/v9 v9.0.2
1818
github.com/spf13/cast v1.5.0
1919
github.com/spf13/cobra v1.5.0
2020
github.com/spf13/viper v1.12.0
2121
github.com/thedevsaddam/govalidator v1.9.10
22-
github.com/ulule/limiter/v3 v3.10.0
22+
github.com/ulule/limiter/v3 v3.11.1
2323
go.uber.org/zap v1.21.0
24-
golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d
24+
golang.org/x/crypto v0.7.0
2525
gopkg.in/natefinch/lumberjack.v2 v2.0.0
2626
gorm.io/driver/mysql v1.3.2
2727
gorm.io/driver/sqlite v1.1.6
2828
gorm.io/gorm v1.23.5
2929
)
3030

3131
require (
32-
github.com/cespare/xxhash/v2 v2.1.2 // indirect
32+
github.com/bytedance/sonic v1.8.0 // indirect
33+
github.com/cespare/xxhash/v2 v2.2.0 // indirect
34+
github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311 // indirect
3335
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
3436
github.com/fsnotify/fsnotify v1.5.4 // indirect
3537
github.com/gin-contrib/sse v0.1.0 // indirect
36-
github.com/go-playground/locales v0.14.0 // indirect
37-
github.com/go-playground/universal-translator v0.18.0 // indirect
38-
github.com/go-playground/validator/v10 v10.11.0 // indirect
39-
github.com/go-redis/redis/v8 v8.11.4 // indirect
38+
github.com/go-playground/locales v0.14.1 // indirect
39+
github.com/go-playground/universal-translator v0.18.1 // indirect
40+
github.com/go-playground/validator/v10 v10.11.2 // indirect
4041
github.com/go-sql-driver/mysql v1.6.0 // indirect
41-
github.com/goccy/go-json v0.9.7 // indirect
42+
github.com/goccy/go-json v0.10.0 // indirect
4243
github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0 // indirect
4344
github.com/google/uuid v1.1.2 // indirect
4445
github.com/hashicorp/hcl v1.0.0 // indirect
4546
github.com/inconshreveable/mousetrap v1.0.0 // indirect
4647
github.com/jinzhu/inflection v1.0.0 // indirect
4748
github.com/jinzhu/now v1.1.4 // indirect
4849
github.com/json-iterator/go v1.1.12 // indirect
50+
github.com/klauspost/cpuid/v2 v2.0.9 // indirect
4951
github.com/leodido/go-urn v1.2.1 // indirect
5052
github.com/magiconair/properties v1.8.6 // indirect
5153
github.com/mattn/go-colorable v0.1.12 // indirect
52-
github.com/mattn/go-isatty v0.0.14 // indirect
54+
github.com/mattn/go-isatty v0.0.17 // indirect
5355
github.com/mattn/go-sqlite3 v1.14.8 // indirect
5456
github.com/mitchellh/mapstructure v1.5.0 // indirect
5557
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
5658
github.com/modern-go/reflect2 v1.0.2 // indirect
5759
github.com/pborman/uuid v1.2.1 // indirect
5860
github.com/pelletier/go-toml v1.9.5 // indirect
59-
github.com/pelletier/go-toml/v2 v2.0.1 // indirect
61+
github.com/pelletier/go-toml/v2 v2.0.6 // indirect
6062
github.com/pkg/errors v0.9.1 // indirect
6163
github.com/spf13/afero v1.8.2 // indirect
6264
github.com/spf13/jwalterweatherman v1.1.0 // indirect
6365
github.com/spf13/pflag v1.0.5 // indirect
6466
github.com/subosito/gotenv v1.4.0 // indirect
65-
github.com/ugorji/go/codec v1.2.7 // indirect
67+
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
68+
github.com/ugorji/go/codec v1.2.9 // indirect
6669
go.uber.org/atomic v1.7.0 // indirect
6770
go.uber.org/multierr v1.6.0 // indirect
71+
golang.org/x/arch v0.0.0-20210923205945-b76863e36670 // indirect
6872
golang.org/x/image v0.0.0-20191009234506-e7c1f5e7dbb8 // indirect
69-
golang.org/x/net v0.0.0-20220531201128-c960675eff93 // indirect
70-
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a // indirect
71-
golang.org/x/text v0.3.7 // indirect
72-
google.golang.org/protobuf v1.28.0 // indirect
73+
golang.org/x/net v0.8.0 // indirect
74+
golang.org/x/sys v0.6.0 // indirect
75+
golang.org/x/text v0.8.0 // indirect
76+
google.golang.org/protobuf v1.28.1 // indirect
7377
gopkg.in/ini.v1 v1.66.6 // indirect
7478
gopkg.in/yaml.v2 v2.4.0 // indirect
7579
gopkg.in/yaml.v3 v3.0.1 // indirect

‎go.sum

+91-63
Large diffs are not rendered by default.

‎pkg/redis/redis.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"sync"
88
"time"
99

10-
"github.com/go-redis/redis/v9"
10+
"github.com/redis/go-redis/v9"
1111
)
1212

1313
// once 确保全局的 Redis 对象只实例一次

0 commit comments

Comments
 (0)
Please sign in to comment.