File tree 3 files changed +5
-8
lines changed
3 files changed +5
-8
lines changed Original file line number Diff line number Diff line change 20
20
os :
21
21
- ubuntu-latest
22
22
- macos-latest
23
- - windows-latest
23
+ # - windows-latest
24
24
name : Golangci-Lint
25
25
runs-on : ${{ matrix.os }}
26
26
steps :
29
29
uses : golangci/golangci-lint-action@v2
30
30
with :
31
31
version : v1.40
32
- args : -E goimports -E gocritic -E misspell -E revive
32
+ args : -E gofumpt -E gocritic -E misspell -E revive
Original file line number Diff line number Diff line change @@ -42,12 +42,10 @@ type (
42
42
}
43
43
44
44
// BuiltInFrameCodec is the built-in codec which will be assigned to gnet server when customized codec is not set up.
45
- BuiltInFrameCodec struct {
46
- }
45
+ BuiltInFrameCodec struct {}
47
46
48
47
// LineBasedFrameCodec encodes/decodes line-separated frames into/from TCP stream.
49
- LineBasedFrameCodec struct {
50
- }
48
+ LineBasedFrameCodec struct {}
51
49
52
50
// DelimiterBasedFrameCodec encodes/decodes specific-delimiter-separated frames into/from TCP stream.
53
51
DelimiterBasedFrameCodec struct {
Original file line number Diff line number Diff line change @@ -187,8 +187,7 @@ type (
187
187
// EventServer is a built-in implementation of EventHandler which sets up each method with a default implementation,
188
188
// you can compose it with your own implementation of EventHandler when you don't want to implement all methods
189
189
// in EventHandler.
190
- EventServer struct {
191
- }
190
+ EventServer struct {}
192
191
)
193
192
194
193
// OnInitComplete fires when the server is ready for accepting connections.
You can’t perform that action at this time.
0 commit comments