Skip to content

Commit 4b30d87

Browse files
committed
fix: typo: prot -> port
Fix Redis configuration typo.
1 parent 1bebf87 commit 4b30d87

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ vi (app.json or app.dev.json or app.prod.json)
4949
},
5050
"Redis": {
5151
"Host": "127.0.0.1",
52-
"Prot": 6379,
52+
"Port": 6379,
5353
"DBIndex": 0,
5454
"UserName": "",
5555
"Password": ""

Diff for: config/app.prod.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
},
1414
"Redis": {
1515
"Host": "127.0.0.1",
16-
"Prot": 6379,
16+
"Port": 6379,
1717
"DBIndex": 0,
1818
"UserName": "",
1919
"Password": ""

Diff for: config/config.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ type dbConfigObj struct {
7373
}
7474
type redisConfig struct {
7575
Host string
76-
Prot uint
76+
Port uint
7777
DBIndex uint
7878
UserName string
7979
Password string

0 commit comments

Comments
 (0)