🔥 feat: Improve and Optimize ShutdownWithContext Func #6609
Annotations
10 errors and 1 warning
golangci-lint:
hooks_test.go#L217
Error return value of `app.Listen` is not checked (errcheck)
|
golangci-lint:
hooks_test.go#L228
comparing with != will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
|
golangci-lint:
hooks_test.go#L238
unused-parameter: parameter 'err' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
hooks_test.go#L243
unused-parameter: parameter 'err' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
hooks_test.go#L259
unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
hooks_test.go#L263
unused-parameter: parameter 'err' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
listen_test.go#L50
test helper function should start from t.Helper() (thelper)
|
golangci-lint:
listen_test.go#L62
unused-parameter: parameter 'err' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
listen_test.go#L73
Function `Listener` should pass the context parameter (contextcheck)
|
golangci-lint:
listen_test.go#L83
Error return value of `conn.Close` is not checked (errcheck)
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading