Skip to content

Commit f63cb1e

Browse files
committed
optimize code
1 parent 0805a5a commit f63cb1e

File tree

2 files changed

+41
-1469
lines changed

2 files changed

+41
-1469
lines changed

go.mod

Lines changed: 37 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,51 @@ module github.com/link1st/gowebsocket/v2
33
go 1.18
44

55
require (
6-
github.com/fsnotify/fsnotify v1.4.8-0.20190312181446-1485a34d5d57 // indirect
76
github.com/gin-gonic/gin v1.9.1
87
github.com/golang/protobuf v1.5.3
98
github.com/gorilla/websocket v1.4.2
9+
github.com/redis/go-redis/v9 v9.0.3
10+
github.com/spf13/viper v1.4.1-0.20190728125013-1b33e8258e07
11+
google.golang.org/grpc v1.56.3
12+
google.golang.org/protobuf v1.33.0
13+
)
14+
15+
require (
16+
github.com/bytedance/sonic v1.9.1 // indirect
17+
github.com/cespare/xxhash/v2 v2.2.0 // indirect
18+
github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311 // indirect
19+
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
20+
github.com/fsnotify/fsnotify v1.4.8-0.20190312181446-1485a34d5d57 // indirect
21+
github.com/gabriel-vasile/mimetype v1.4.2 // indirect
22+
github.com/gin-contrib/sse v0.1.0 // indirect
23+
github.com/go-playground/locales v0.14.1 // indirect
24+
github.com/go-playground/universal-translator v0.18.1 // indirect
25+
github.com/go-playground/validator/v10 v10.14.0 // indirect
26+
github.com/goccy/go-json v0.10.2 // indirect
1027
github.com/hashicorp/hcl v1.0.1-0.20190611123218-cf7d376da96d // indirect
28+
github.com/json-iterator/go v1.1.12 // indirect
29+
github.com/klauspost/cpuid/v2 v2.2.4 // indirect
30+
github.com/leodido/go-urn v1.2.4 // indirect
31+
github.com/magiconair/properties v1.8.1 // indirect
32+
github.com/mattn/go-isatty v0.0.19 // indirect
33+
github.com/mitchellh/mapstructure v1.1.2 // indirect
34+
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
35+
github.com/modern-go/reflect2 v1.0.2 // indirect
1136
github.com/pelletier/go-toml v1.4.1-0.20190725070617-84da2c4a25c5 // indirect
12-
github.com/redis/go-redis/v9 v9.0.3
37+
github.com/pelletier/go-toml/v2 v2.0.8 // indirect
38+
github.com/spf13/afero v1.1.2 // indirect
1339
github.com/spf13/cast v1.3.1-0.20190531093228-c01685bb8421 // indirect
1440
github.com/spf13/jwalterweatherman v1.1.0 // indirect
1541
github.com/spf13/pflag v1.0.4-0.20181223182923-24fa6976df40 // indirect
16-
github.com/spf13/viper v1.4.1-0.20190728125013-1b33e8258e07
1742
github.com/subosito/gotenv v1.1.1 // indirect
18-
github.com/ugorji/go v1.2.10 // indirect
19-
google.golang.org/grpc v1.56.3
20-
google.golang.org/protobuf v1.33.0
43+
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
44+
github.com/ugorji/go/codec v1.2.11 // indirect
45+
golang.org/x/arch v0.3.0 // indirect
46+
golang.org/x/crypto v0.9.0 // indirect
47+
golang.org/x/net v0.10.0 // indirect
48+
golang.org/x/sys v0.8.0 // indirect
49+
golang.org/x/text v0.9.0 // indirect
50+
google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 // indirect
2151
gopkg.in/yaml.v2 v2.4.0 // indirect
52+
gopkg.in/yaml.v3 v3.0.1 // indirect
2253
)

0 commit comments

Comments
 (0)