Commit abd9627 1 parent 5fa773e commit abd9627 Copy full SHA for abd9627
File tree 2 files changed +6
-1
lines changed
2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 6
6
GO_MODULE : github.com/Semior001/groxy
7
7
8
8
tasks :
9
+ lint :
10
+ desc : " lint"
11
+ cmds :
12
+ - golangci-lint run --config=.golangci.yml --timeout=5m ./...
13
+
9
14
gen :
10
15
desc : " generate all"
11
16
deps :
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ func TestAppInfo(t *testing.T) {
38
38
func TestRecoverer (t * testing.T ) {
39
39
bts := bytes .NewBuffer (nil )
40
40
slog .SetDefault (slog .New (slog .NewTextHandler (bts , & slog.HandlerOptions {})))
41
- mw := Recoverer (func (_ any , _ grpc.ServerStream ) error { panic ("test" ) })
41
+ mw := Recoverer ()( func (_ any , _ grpc.ServerStream ) error { panic ("test" ) })
42
42
var err error
43
43
require .NotPanics (t , func () {
44
44
err = mw (nil , & mocks.ServerStreamMock {
You can’t perform that action at this time.
0 commit comments