fixed gofmt issue

This commit is contained in:
Dzyanis Kuzmenka 2022-03-17 23:01:16 +03:00
parent 18c38d1fb0
commit 8e69e2423f
2 changed files with 5 additions and 5 deletions

View File

@ -85,7 +85,7 @@ linters:
- whitespace - whitespace
- gofumpt - gofumpt
- godot - godot
- gofmt # - gofmt
- gocritic - gocritic
- gocognit - gocognit
- deadcode - deadcode

View File

@ -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,