File tree Expand file tree Collapse file tree 3 files changed +2
-8
lines changed
Expand file tree Collapse file tree 3 files changed +2
-8
lines changed Original file line number Diff line number Diff line change 4141 - uses : actions/checkout@v4
4242 - uses : actions/setup-go@v5
4343 with :
44- go-version : ' 1.22 '
44+ go-version : ' 1.24 '
4545 - name : golangci-lint
4646 uses : golangci/golangci-lint-action@v7
4747 with :
48- version : v1.60
48+ version : v2.0
Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ type FormatterArgs struct {
1717 Goid string // "123"
1818 Stack string // "<stack string>"
1919 Message string // "a structure message"
20- Category string // "cat1"
2120 KeyValues []struct {
2221 Key string // "foo"
2322 Value string // "bar"
@@ -53,8 +52,6 @@ func formatterArgsPos(key string) (pos int) {
5352 pos = 6
5453 case "message" , "msg" :
5554 pos = 7
56- case "category" :
57- pos = 8
5855 }
5956 return
6057}
Original file line number Diff line number Diff line change @@ -35,9 +35,6 @@ func TestFormatterArgsParse(t *testing.T) {
3535 if args .Level != level {
3636 t .Fatalf ("Failed to parse level: %s != %s" , args .Level , level )
3737 }
38- if args .Category != category {
39- t .Fatalf ("Failed to parse category: %s != %s" , args .Category , category )
40- }
4138 if args .Message != msg {
4239 t .Fatalf ("Failed to parse messae: %s != %s" , args .Message , msg )
4340 }
You can’t perform that action at this time.
0 commit comments