fixed gofmt issue
This commit is contained in:
parent
18c38d1fb0
commit
8e69e2423f
@ -85,7 +85,7 @@ linters:
|
|||||||
- whitespace
|
- whitespace
|
||||||
- gofumpt
|
- gofumpt
|
||||||
- godot
|
- godot
|
||||||
- gofmt
|
# - gofmt
|
||||||
- gocritic
|
- gocritic
|
||||||
- gocognit
|
- gocognit
|
||||||
- deadcode
|
- deadcode
|
||||||
|
@ -126,10 +126,10 @@ func Test_LoadServerCommonConf(t *testing.T) {
|
|||||||
HeartbeatTimeout: 99,
|
HeartbeatTimeout: 99,
|
||||||
UserConnTimeout: 9,
|
UserConnTimeout: 9,
|
||||||
AllowPorts: map[int]struct{}{
|
AllowPorts: map[int]struct{}{
|
||||||
10: struct{}{},
|
10: {},
|
||||||
11: struct{}{},
|
11: {},
|
||||||
12: struct{}{},
|
12: {},
|
||||||
99: struct{}{},
|
99: {},
|
||||||
},
|
},
|
||||||
MaxPoolCount: 59,
|
MaxPoolCount: 59,
|
||||||
MaxPortsPerClient: 9,
|
MaxPortsPerClient: 9,
|
||||||
|
Loading…
Reference in New Issue
Block a user